Puppet is the system that tells every other server in a fleet what to be. On 3 November 2026, Perforce and the OpenVox project fixed CVE-2026-115731: a bug that let any machine holding a Puppet agent certificate run code on the Puppet server itself, simply by sending it a crafted run report. On 17 November, CISA added it to its Known Exploited Vulnerabilities catalog.
The finder, Alain Rödel of Neodyme AG, reported a second flaw alongside it, CVE-2026-115732, which lets one node pass as another. Both are fixed in the same releases. This post explains how Puppet's reports work, the bug, what an attacker gets, the fixed versions, and how to check and harden your setup.
How Puppet works
A Puppet deployment has one server (with its own certificate authority) and many agents: every machine it manages. On each run, an agent:
- authenticates with a client certificate signed by the server's CA,
- fetches its catalog (what it should look like: packages, files, users, services),
- applies it, and
- sends a report back with
PUT /puppet/v3/report/<certname>: a JSON document listing every resource and every change ("event").
New machines need a signed certificate before they can do any of this. Many teams turn on autosign so new machines join without a human approving them, and that becomes important below.
What happened: timeline
| Date | Event |
|---|---|
| Jul 2021 | Puppet 6.24.0 released; the finders confirmed it is already vulnerable |
| 3 Nov 2026 | Fixes for Puppet Enterprise, Puppet Core and OpenVox; OpenVox advisory GHSA-ffr6-rwpm-p5wq and Neodyme's write-up published |
| 17 Nov 2026 | CISA adds CVE-2026-115731 to KEV; US federal deadline 1 Dec 2026 |
Neodyme found the bugs while preparing a red-team engagement against Puppet Enterprise 2025.11.2, using AI-assisted code analysis that they steered closely. The OpenVox advisory includes a complete sample report that runs a command, so a working public exploit has existed since the day of the fix.
The technical root cause
When the server receives a report, it rebuilds each event as a Ruby object
(Puppet::Transaction::Event), passing the event's JSON to Puppet::Pops::Serialization::FromDataConverter. That
converter understands Puppet's rich data format, where a __ptype key says which type to build:
{ "__ptype": "<a type name, or a full inline type definition>", "__pvalue": "..." }
A Pcore Object type can be defined inline, including functions with a RubyMethod annotation whose body is Ruby
source text. To create the type, Puppet generates a Ruby class from that definition and evaluates it with class_eval.
The body text is pasted into the class source, so code placed there runs while the class is being defined, before
anything uses the event. The OpenVox advisory traces the path: event.rb → FromDataConverter.convert →
TypeParser.parse(__ptype) → .create → RubyGenerator.create_class → class_eval.
The deeper cause is an asymmetry: Puppet wrote report events as plain data but read them back as rich data. Real agents never need inline types in a report. The fix reads events as plain data and refuses rich types there.
What an attacker can do
- Get an agent certificate. Control any managed machine, or, with naive autosign, request a certificate for any name.
- Send one report to port 8140.
- Run code as
puppeton the Puppet server. - Take the keys: the
puppetuser can read the CA signing key, so the attacker can mint certificates for any node (or the server). Catalogs often contain secrets: Neodyme notes database credentials and admin API tokens. In Puppet Enterprise, Neodyme describes a path to root on managed nodes through the orchestration layer (PXP).
The companion CVE-2026-115732 is an authorization bug in certificate-name matching (trapperkeeper-authorization): the
server compared only as many name labels as the rule had, so a certificate for evil.target.example passed rules written
for target.example. That lets a node fetch another node's catalog and facts (and their secrets), and impersonate it.
Who is affected
| Product | Affected | Fixed |
|---|---|---|
| Puppet Enterprise | 2023.8.0-2023.8.12, 2025.0.0-2025.12.0, 2026.0.0 | 2023.8.13, 2025.12.1, 2026.0.1 |
| Puppet Core (Perforce) | 8.x before 8.22.2, 9.x before 9.1.3 | 8.22.2, 9.1.3 |
| OpenVox Server | up to 8.17.0 and 9.1.0 | 8.18.0, 9.2.0 |
| OpenVox Agent | up to 8.31.1 and 9.2.0 | 8.32.0, 9.3.0 |
| Older community Puppet (7 and earlier) | confirmed back to 6.24.0 | no fix for that line: move to Puppet Core or OpenVox |
The bug is exploited on the server, so upgrade servers first. Products that bundle Puppet Server need their vendor's update.
The CVEs
| CVE | What | CVSS 4.0 | KEV |
|---|---|---|---|
| CVE-2026-115731 | Code execution from a crafted report (unsafe deserialization, CWE-94) | 9.4 (NVD's CVSS 3.1: 9.9) | Added 17 Nov 2026, due 1 Dec 2026 |
| CVE-2026-115732 | Certificate-name matching lets a node pass as another | 9.0 | Not listed (20 Nov 2026) |
How to check if you're exposed
1. Version (on the Puppet server):
python3 check/check_version.py --local
python3 check/check_version.py pe 2025.11.2
# AFFECTED Puppet Enterprise 2025.11.2 is below 2025.12.1
2. Autosign. Look at autosign in puppet.conf ([server] section) and at autosign.conf:
python3 check/audit_autosign.py --conf /etc/puppetlabs/puppet/puppet.conf
# CRITICAL autosign = true: every certificate request is signed
3. Port 8140. From outside your network: nc -vz <puppet-server> 8140 should fail.
4. Hunt. Normal reports never contain inline type definitions. Search stored reports and logs, and list which certnames send reports:
python3 check/hunt_reports.py /opt/puppetlabs/server/data/puppetserver/reports /var/log/puppetlabs/puppetserver
grep -rl 'RubyMethod' /opt/puppetlabs/server/data/puppetserver/reports
puppetserver ca list --all # certificates you don't recognise, recently signed, or look-alike names
Also check whether the Puppet Server JVM (or the puppet user) has started sh, bash, curl or wget.
If you can't patch yet
- Stop naive autosigning: no
autosign = true, no*or*.domainentries. Use policy-based autosigning that verifies a challenge password or a cloud instance identity document, not just the requested name. - Restrict port 8140 to the networks your agents live in.
- Revoke unknown certificates.
These shrink who can reach the bug; only the upgrade removes it. Any machine you already manage can still exploit it.
If a server may have been hit
The puppet user can read the CA key and every secret compiled into catalogs, so assume both are exposed:
- Preserve logs, the CA directory and a disk snapshot.
- Rebuild the CA with new keys and re-issue every agent certificate.
- Rotate secrets in Hiera, catalogs and the control repository (database passwords, API tokens, deploy keys, cloud keys).
- Review orchestrator job history and recent code deployments for changes you didn't make.
Try it yourself: hands-on lab
The lab contains no exploit for Puppet. It runs offline:
reproduce/report_model.pymodels the bug class in Python with its own tiny format: the buggy reader builds a class from a sender-defined type (code runs at class definition, here it only writes a marker file); the fixed reader treats events as plain data.check/check_version.py,check/audit_autosign.pyandcheck/hunt_reports.py, as above.fix/README.md: the upgrade table, autosign and port hardening, and incident steps.
$ python3 reproduce/report_model.py
buggy event with __ptype -> CODE RAN; accepted
fixed event with __ptype -> no code ran; rich-data type in a report event: rejected (events are plain data)
fixed normal event -> no code ran; accepted
Key takeaways
- Patch control planes first. Puppet, CI and orchestration own everything else, so attackers go there first.
- Autosign is not authentication. A requested name proves nothing.
- Read data as data. If input can choose which code gets built, it's code execution waiting to happen (we saw the same pattern in Apache Axis, CVE-2026-90436).
- Wall off management ports. 8140 is not for the internet.