Description
Puppet resource_api (shipped in Puppet Core 8.x and Puppet Enterprise 2023.8.x and 2025.x) does not preserve the sensitive flag on parameters defined via the resource-api, causing values such as passwords to be stored in cleartext in the agent's local transaction state cache. Affected versions of the resource_api module include all versions between 1.5.0 - 1.9.1 and 2.0.0 The issue was fixed in puppet resource_api 1.9.2 and 2.0.1 released with Puppet Core 8.20.0 and PE 2023.8.10 & PE 2025.11.0.
Published: 2026-07-03
Score: 6.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Puppet resource_api module loses the memory of the sensitive flag on parameters created through the resource-api, causing data such as passwords to be written in cache. The stored secrets are therefore exposed to anyone who can read the cache, directly risking the compromise of credentials used by the system.

Affected Systems

This flaw affects Perforce Puppet Core 8.x and Perforce Puppet Enterprise 2023.8.x and 2025.x. Versions of the resource_api module between 1.5.0 and 1.9.1, as well as version 2.0.0, are vulnerable. The issue is remedied in resource_api 1.9.2 and 2.0.1, which are included in Puppet Core 8.20.0, PE 2023.8.10, and PE 2025.11.0.

Risk and Exploitability

With a CVSS score of 6.7 the vulnerability represents moderate severity. EPSS score is < 1%, and the flaw is not listed in the CISA KEV catalog. The likely attack vector is inferred from the description to be local access to the agent's transaction state cache, though a remote adversary who can compromise the agent could also gain read access. The consequence is the exposure of password or other sensitive data contained in or unauthorized access to downstream services.

Generated by OpenCVE AI on July 21, 2026 at 10:07 UTC.

Remediation

Vendor Solution

Upgrade to Puppet Core 8.20.0, PE 2023.8.10, or PE 2025.11.0


OpenCVE Recommended Actions

  • Upgrade Puppet Core or Puppet Enterprise to a release that includes resource_api 1.9.2 or 2.0.1, such as Puppet Core 8.20.0, PE 2023.8.10, or PE 2025.11.0.
  • Restrict file system permissions on each agent host so that only the Puppet user can read the transaction state cache directory, preventing other local users from accessing cleartext accesses to the transaction state cache and investigate any suspected secret leakage promptly.
  • Ensure any custom or third‑party modules that use resource_api correctly set the 'sensitive' attribute on secret parameters to prevent accidental exposure.

Generated by OpenCVE AI on July 21, 2026 at 10:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 03 Jul 2026 08:00:00 +0000

Type Values Removed Values Added
Description Puppet resource_api (shipped in Puppet Core 8.x and Puppet Enterprise 2023.8.x and 2025.x) does not preserve the sensitive flag on parameters defined via the resource-api, causing values such as passwords to be stored in cleartext in the agent's local transaction state cache. Affected versions of the resource_api module include all versions between 1.5.0 - 1.9.1 and 2.0.0 The issue was fixed in puppet resource_api 1.9.2 and 2.0.1 released with Puppet Core 8.20.0 and PE 2023.8.10 & PE 2025.11.0.
Title Cleartext Storage of Sensitive Information for Puppet Resource API
Weaknesses CWE-312
CWE-313
References
Metrics cvssV4_0

{'score': 6.7, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:L'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Perforce

Published:

Updated: 2026-07-06T15:21:55.981Z

Reserved: 2026-05-18T05:31:00.670Z

Link: CVE-2026-8804

cve-icon Vulnrichment

Updated: 2026-07-06T15:21:52.316Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T10:15:02Z

Weaknesses
  • CWE-312

    Cleartext Storage of Sensitive Information

  • CWE-313

    Cleartext Storage in a File or on Disk