BreachSpiderVerified, not vibes

CVE-2011-3871 in Puppet and 1 more product

Medium 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.

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 2.06.2
EPSS0.3%
EPSS percentile20th
FixUnknown

Requires local access, high complexity.

Affected products and versions

VendorProductAffected versions
Puppet Puppet 0.25.0 0.25.1 0.25.2 0.25.3 0.25.4 0.25.5
+15 more0.25.6 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.6.6 2.6.7 2.6.8 2.6.9 2.6.10 2.7.2 2.7.3 2.7.4
Puppetlabs Puppet 2.7.0 2.7.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2011-3871
BreachSpider IDBS-2011-GLOBAL-089180-M
CVSS vectorAV:L/AC:H/Au:N/C:C/I:C/A:C
Published2011-10-27
Last modified2026-04-29
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-264: Permissions, Privileges, and Access Controls

Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2011. A medium severity vulnerability affects Puppet systems (CVE-2011-3871). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: AV:L/AC:H/Au:N/C:C/I:C/A:C.

Questions

What is CVE-2011-3871?

This vulnerability was disclosed in 2011. A medium severity vulnerability affects Puppet systems (CVE-2011-3871). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2011-3871?

CVE-2011-3871 has CVSS 6.2 (Medium). Vector: AV:L/AC:H/Au:N/C:C/I:C/A:C. EPSS: 0.3%.

Is CVE-2011-3871 actively exploited?

No confirmed active exploitation of CVE-2011-3871 as of 2026-05-30.

How do I remediate CVE-2011-3871?

Priority: MONITOR.

What systems are affected by CVE-2011-3871?

CVE-2011-3871 affects Puppet Puppet; Puppetlabs Puppet.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Puppet","product":"Puppet","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-29.