Home / Puppet / Puppet / CVE-2012-3865
CVE-2012-3865: is it exploited, and which versions of Puppet are affected and fixed?
CVE-2012-3865 is a path traversal (reading or writing files outside the intended folder) vulnerability in Puppet. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: puppet before 2.6.17 and puppet from 2.7.0 before 2.7.18 (GitHub advisory GHSA-g89m-3wjw-h857). Fixed in 2.6.17 and 2.7.18 (GitHub advisory GHSA-g89m-3wjw-h857). Severity: Low (3.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2012-3865?
Directory traversal vulnerability in lib/puppet/reports/store.rb in Puppet before 2.6.17 and 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, when Delete is enabled in auth.conf, allows remote authenticated users to delete arbitrary files on the puppet master server via a .. (dot dot) in a node name.
From the CVE record by mitre, last updated August 6, 2024, 20:21 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | puppet | < 2.6.17 | 2.6.17 | GHSA-g89m-3wjw-h857 |
| RubyGems | puppet | >= 2.7.0, < 2.7.18 | 2.7.18 | GHSA-g89m-3wjw-h857 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 12, 2023. Summary: Puppet vulnerable to Path Traversal.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| puppet | puppet | 2.7.2 | application |
| puppet | puppet | 2.7.3 | application |
| puppet | puppet | 2.7.4 | application |
| puppet | puppet | 2.7.5 | application |
| puppet | puppet | 2.7.6 | application |
| puppet | puppet | 2.7.8 | application |
| puppet | puppet | 2.7.9 | application |
| puppet | puppet | 2.7.10 | application |
| puppet | puppet | 2.7.11 | application |
| puppet | puppet | 2.7.12 | application |
| puppet | puppet | 2.7.13 | application |
| puppet | puppet | 2.7.14 | application |
| puppet | puppet | 2.7.16 | application |
| puppetlabs | puppet | through 2.7.17 | application |
| puppetlabs | puppet | 2.7.0 | application |
| puppetlabs | puppet | 2.7.1 | application |
| puppet | puppet | 2.6.0 | application |
| puppet | puppet | 2.6.1 | application |
| puppet | puppet | 2.6.2 | application |
| puppet | puppet | 2.6.3 | application |
| puppet | puppet | 2.6.4 | application |
| puppet | puppet | 2.6.5 | application |
| puppet | puppet | 2.6.6 | application |
| puppet | puppet | 2.6.7 | application |
| puppet | puppet | 2.6.8 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:44 UTC.
How severe is CVE-2012-3865?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.5 | CVSS 2.0 | AV:N/AC:M/Au:S/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-3865 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.88% probability of exploitation activity in the next 30 days, percentile 80.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- SUSE-SU-2012:0983 vendor-advisory, x_refsource_SUSE
- https://github.com/puppetlabs/puppet/commit/554eefc55f57ed2b76e5ee04d8f194d36f6ee67f x_refsource_CONFIRM
- DSA-2511 vendor-advisory, x_refsource_DEBIAN
- USN-1506-1 vendor-advisory, x_refsource_UBUNTU
- 50014 third-party-advisory, x_refsource_SECUNIA
- openSUSE-SU-2012:0891 vendor-advisory, x_refsource_SUSE
- https://github.com/puppetlabs/puppet/commit/d80478208d79a3e6d6cb1fbc525e24817fe8c4c6 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=839131 x_refsource_CONFIRM
- http://puppetlabs.com/security/cve/cve-2012-3865/ x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- July 6, 2012
- Published
- August 6, 2012, 16:00 UTC
- CVE record updated
- August 6, 2024, 20:21 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:44 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Puppet?
- Feb 19, 2020CVE-2020-7942 Puppet: improper certificate validation
- Dec 11, 2017CVE-2014-3250 Puppet: improper certificate validation
- Jun 10, 2016CVE-2016-2785 Puppet: improper access control
- Nov 16, 2014CVE-2014-3248 Puppet Facter: n/a
- Feb 17, 2014CVE-2011-0528 Puppet: improper access control
- Aug 20, 2013CVE-2013-4956 Puppet: n/a
- Aug 20, 2013CVE-2013-4761 Puppet: n/a
- Aug 19, 2013CVE-2013-3567 Puppet: improper input validation
Questions about CVE-2012-3865
Is CVE-2012-3865 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 1.88% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Puppet are affected by CVE-2012-3865?
puppet before 2.6.17 and puppet from 2.7.0 before 2.7.18, per the GitHub advisory GHSA-g89m-3wjw-h857. The tables above give every range the sources list.
Which version fixes CVE-2012-3865?
2.6.17 and 2.7.18, per the GitHub advisory GHSA-g89m-3wjw-h857. Check the vendor's advisory before you rely on it.
How severe is CVE-2012-3865?
Low (3.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-3865?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.