Every CVE Search/ Get API key

CVE-2011-3871

Puppet uses predictable filenames, allowing arbitrary file overwrite

6.2 MediumFix available

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

0.34%Down 0.9 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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

Affected packages
PackageAffectedFixed
puppet
RubyGems
before 2.6.11
2.6.11
puppet
RubyGems
2.7.0 up to 2.7.5
2.7.5
puppet
Debian:11
before 2.7.3-3
2.7.3-3
puppet
Debian:6.0
before 2.6.2-5+squeeze1, plus listed versions
2.6.2-42.6.2-5
2.6.2-5+squeeze1
puppet
RubyGems
2.7.0 up to 2.7.5, plus listed versions
2.7.12.7.32.7.4
2.7.5
puppet
RubyGems
before 2.6.11, plus listed versions
0.13.00.13.10.13.20.13.60.16.0
Show 33 moreShow less
0.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

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 10 moreShow less
MoveEnter Open