CVE-2011-3871

Description

Puppet 2.7.x before 2.7.5, 2.6.x before 2.6.11, and 0.25.x, when running in --edit mode, uses a predictable file name, which allows local users to run arbitrary Puppet code or trick a user into editing arbitrary files.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
0.338%
chance of exploitation in the next 30 days
higher than 27.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2011-10-27Published by the CNA20:00 UTC
  2. 2022-05-14GitHub advisory published (GHSA-mpmx-gm5v-q789)3852 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-mpmx-gm5v-q789, affected packages:

EcosystemPackageVulnerable rangePatched
RubyGemspuppet< 2.6.112.6.11
RubyGemspuppet>= 2.7.0, < 2.7.52.7.5

Affected products

VendorProduct
puppetpuppet
puppetlabspuppet

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources