CVE-2011-3871
Puppet uses predictable filenames, allowing arbitrary file overwrite
CVE-2011-3871 is a medium vulnerability (CVSS 6.2) in Puppet, published September 29, 2011. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.34%, the 27th percentile. Fixed in puppet 2.6.11.
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.
Exploit likelihood
What each source reports
NVD Score used
6.2
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.
- Record
CVE-2011-3871- CVSS 2.0
- 6.2 Medium
AV:L/AC:H/Au:N/C:C/I:C/A:C - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2011-3871- Updated
- 2026-11-02
EUVDEUVD-2022-4604 No score
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.
- Record
EUVD-2022-4604- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mpmx-gm5v-q789 No score
Puppet uses predictable filenames, allowing arbitrary file overwrite
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.
- Record
GHSA-mpmx-gm5v-q789- Weakness
- CWE-340
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2011-3871- Updated
- 2026-11-02
OSVDEBIAN-CVE-2011-3871 No score
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.
- Record
DEBIAN-CVE-2011-3871- Updated
- 2026-11-02
OSVGHSA-mpmx-gm5v-q789 No score
Puppet uses predictable filenames, allowing arbitrary file overwrite
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.
- Record
GHSA-mpmx-gm5v-q789- Weakness
- CWE-340
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
puppetRubyGems |
before 2.6.11 | 2.6.11 |
puppetRubyGems |
2.7.0 up to 2.7.5 | 2.7.5 |
puppetDebian:11 |
before 2.7.3-3 | 2.7.3-3 |
puppetDebian:6.0 |
before 2.6.2-5+squeeze1, plus listed versions 2.6.2-42.6.2-5 |
2.6.2-5+squeeze1 |
puppetRubyGems |
2.7.0 up to 2.7.5, plus listed versions 2.7.12.7.32.7.4 |
2.7.5 |
puppetRubyGems |
before 2.6.11, plus listed versions 0.13.00.13.10.13.20.13.60.16.0 Show 33 moreShow less0.18.40.22.40.23.00.23.10.23.20.24.00.24.10.24.20.24.30.24.40.24.50.24.60.24.70.24.80.24.90.25.00.25.10.25.20.25.30.25.40.25.50.9.22.6.02.6.12.6.102.6.22.6.32.6.42.6.52.6.62.6.72.6.82.6.9 |
2.6.11 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
lists.fedoraproject.org/pipermail/package-announce/2011-October/068061.html
lists.fedoraproject.org/pipermail/package-announce/2011-October/068093.html
debian.org/security/2011/dsa-2314
secunia.com/advisories/46458
puppet.com/security/cve/cve-2011-3871
lists.fedoraproject.org/pipermail/package-announce/2011-October/068053.html
Show 10 moreShow less
groups.google.com/group/puppet-announce/browse_thread/thread/91e3b46d2328a1cb
ubuntu.com/usn/USN-1223-1
ubuntu.com/usn/USN-1223-2
nvd.nist.gov/vuln/detail/CVE-2011-3871
github.com/puppetlabs/puppet/commit/343c7bd381b63e042d437111718918f951d9b30d
github.com/puppetlabs/puppet/commit/d76c30935460ded953792dfe49f72b8c5158e899
github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2011-3871.yml
github.com/advisories/GHSA-mpmx-gm5v-q789
security-tracker.debian.org/tracker/CVE-2011-3871
github.com/puppetlabs/puppet