Tag: RCE

Puppet Server RCE CVE-2026-115731 hits CISA KEV: autosign makes it pre-auth

Puppet Server RCE CVE-2026-115731 hits CISA KEV: autosign makes it pre-auth

The report is the boring part of a Puppet run. The agent applies its catalog, writes down what changed, and uploads a JSON summary to the server so someone can look at a dashboard later. Nobody threat-models the dashboard feed. That upload is exactly where Neodyme found a way to make the Puppet Server run arbitrary Ruby, and on November 17, 2026 CISA added the bug, CVE-2026-115731, to its Known Exploited Vulnerabilities (KEV) catalog.

The fix has been out since November 3. What changed this week is that CISA now says someone is using it. A Puppet Server is not just another box: it holds the certificate authority that every agent trusts, and it decides what code runs on every managed node. Code execution there, as the puppet service user, is a short walk from owning the fleet.

Severity: critical. Patch Puppet Enterprise or OpenVox today, restart the server, and go look at your autosign configuration, because that setting decides whether this is an authenticated bug or an open door.

At a glance

  • CVE: CVE-2026-115731, “Report Deserialization Code Execution” (CWE-502 deserialization of untrusted data, CWE-94 code injection)
  • CVSS: 9.4 (CVSS 4.0, from Perforce and the OpenVox advisory); NVD scores it 9.9 under CVSS 3.1
  • Affected: Puppet Enterprise before 2023.8.13, 2025.12.1 and 2026.0.1; OpenVox Server 9.1.0 and below and 8.17.0 and below; OpenVox Agent 9.2.0 and below and 8.31.1 and below; open-source Puppet, which no longer gets updates
  • Exploitation: in CISA KEV since November 17, 2026 (federal due date December 1, 2026). A proof of concept is published in the OpenVox advisory. No public details on attackers or victims.
  • Fixed in: Puppet Enterprise 2023.8.13, 2025.12.1, 2026.0.1; OpenVox Server 8.18.0 / 9.2.0; OpenVox Agent 8.32.0 / 9.3.0
  • Companion bug: CVE-2026-115732, a certificate-name authorization bypass (CVSS 4.0 9.0 from Perforce, 9.5 from OpenVox). Not in KEV; exploitation claims are unverified.
  • Who should care: anyone running Puppet Enterprise, OpenVox or legacy open-source Puppet, especially with autosign enabled

What we know

Neodyme found the bug while preparing a red team engagement against Puppet Enterprise 2025.11.2 (Puppet 8.20.0). Their write-up says the affected code goes back to open-source Puppet 6.24.0 from July 2021, which means more than five years of releases carry it. According to Vox Pupuli, the reports arrived in mid-October and fixes were ready within days, then held for a few weeks while the release was coordinated with other companies and downstream distributions, landing on November 3.

That coordinated release landed on November 3, 2026 at 17:00 UTC: OpenVox advisory GHSA-ffr6-rwpm-p5wq for the RCE, GHSA-q4hm-33rc-572g for the impersonation bug, and, per Neodyme’s list, two Perforce Support notices (“Report Deserialization Code Execution” and “Certificate Name Authorization Bypass”). Perforce, which is the CVE numbering authority here, published both CVE records the same evening. Debian followed with fixed puppet-agent packages for bookworm (DLA-4884-1) and trixie (DSA-6608-1), which tells you the Puppet 7 and 8 builds shipped by distributions are in scope too.

On November 17, 2026 CISA added CVE-2026-115731 to KEV, and its Vulnrichment data on the CVE record lists exploitation as “active” (2026-11-17). That is the confirmed part. What is not public, as of November 18, 2026: who is exploiting it, against whom, how they got their certificates, and any indicators of compromise. CISA lists ransomware use as “Unknown”. The OpenVox advisory also includes a public proof of concept, so the bar for reproducing this is low.

Timeline from the July 2021 Puppet 6.24.0 release through the mid-October 2026 report, the November 3 coordinated fix, the November 17 CISA KEV listing and the December 1 federal due date.
CVE-2026-115731 from introduction to KEV. Sources: Neodyme, Vox Pupuli, CISA.

How it works

Puppet agents talk to the server over mutual TLS on port 8140. After a run, the agent sends a PUT to /puppet/v3/report with a JSON body describing every resource event. Puppet’s “rich data” format lets serialized values carry a type annotation (a __ptype field) so the server can rebuild proper Ruby objects instead of plain hashes.

The server trusted that annotation too much. Per the OpenVox advisory, a crafted type string is parsed by Puppet’s type parser and handed to a dynamic class generator, which builds Ruby class source from parts the attacker controls and then evaluates it with class_eval. Neodyme describes it the same way: user-controlled annotations end up inside a class body that executes at definition time. This is the classic deserialization pattern, the same family as Java gadget chains and Ruby YAML and Marshal bugs, except you don’t need a gadget at all. The deserializer writes code and runs it for you.

The only gate is the client certificate, and any CA-signed agent certificate works. That is where autosign comes in. Autosign lets the Puppet CA sign requests automatically. Neodyme’s example is an agent self-enrolling when its hostname matches a pattern such as *.lab.local, and they note that provisioning engines like Satellite or Ansible may use autosign to enrol new hosts. The OpenVox advisory calls it common in enterprise deployments. If your pattern is permissive, an attacker who can reach port 8140 enrols a fake node, receives a valid certificate, and is now “authenticated”. CISA’s KEV description spells out that scenario.

After that, the chain Neodyme demonstrated goes like this: code runs as the puppet user, which can read the CA private key. With the key, they minted a certificate for the Puppet server’s own identity and connected to the Puppet Enterprise orchestration broker (PXP, port 8142), where they could stage tasks and run commands as root on agents. On OpenVox the equivalent layer would be Choria, if you run it. With the CA key, an attacker can pose as anyone in your Puppet PKI.

Four-step attack chain: obtain an agent certificate via autosign or a compromised node, send a crafted report to PUT /puppet/v3/report, run Ruby as the puppet user and steal the CA key, then push commands to managed nodes.
The chain Neodyme demonstrated against Puppet Enterprise. Steps 3 and 4 depend on how your CA and orchestration are set up.

CVE-2026-115732 is the supporting act. The trapperkeeper-authorization library compares hostnames label by label from the right, but stops at the end of the shorter name without checking length. So a certificate for evil.target.lab.local passes rules written for target.lab.local. Combined with autosign, an attacker can request a certificate for a nonexistent subdomain of a real host and pull that host’s catalog, spoof its facts, or (in Puppet Enterprise, per Perforce) reach CA administration and remote command execution on managed nodes. Neodyme says one catalog they retrieved contained database and admin credentials.

Who is affected and how badly

Puppet Servers are rarely on the open internet, and that is the honest good news. To exploit this, an attacker needs network reach to port 8140 and a signed certificate. Both are easier than they sound once someone is inside: port 8140 has to be reachable from every managed node by design, and every one of those nodes holds a valid agent certificate on disk. Compromise one web server with a Puppet agent and you already have the credential this bug needs. No autosign required.

So I’d rate it like this. With permissive autosign and a server reachable from untrusted networks, treat it as pre-auth RCE on your most privileged box. With autosign off and the server reachable only from managed nodes, it is escalation from “one node” to “every node”. That second case is still critical in my book; it is exactly the move a ransomware crew makes before mass deployment.

Open-source Puppet users are in the worst spot. Vox Pupuli puts it bluntly: “Puppet will not be receiving any more updates, security or not.” Unless you are on a distribution that backports fixes (Debian did), your path is migrating to OpenVox or Puppet Enterprise.

About the CVE-2026-115732 exploitation claims

Some outlets, including SecurityOnline, label the impersonation bug as exploited in the wild. The only evidence I could trace is a Reddit thread and an aggregator entry I could not verify. Against that: CVE-2026-115732 is not in the KEV catalog as of the November 17 release, and CISA’s last enrichment of the record, dated November 6, lists exploitation as “none”. I’m treating it as unverified. It doesn’t change what you should do, because the same upgrade fixes both.

What to do now

  1. Upgrade. Puppet Enterprise to 2023.8.13, 2025.12.1 or 2026.0.1 (these bundle puppet-agent 8.22.2 or 9.1.3). OpenVox to openvox-server 8.18.0 / 9.2.0, openvox-agent 8.32.0 / 9.3.0, and openvoxdb 8.18.0 / 9.2.0. The vulnerable Ruby code ships in the agent package that the server loads, so update both.
  2. Restart Puppet Server afterwards. Perforce’s CVE record explicitly says the fixed code is only loaded after a restart.
  3. Disable autosign or replace naming patterns with policy-based autosign that verifies something the attacker can’t guess, such as a pre-shared token in the certificate request. Vox Pupuli recommends tightening it either way.
  4. Restrict who can reach port 8140 (and 8142 on Puppet Enterprise) to the networks that actually host managed nodes.
  5. After upgrading, test custom auth.conf rules. Vox Pupuli warns some may have relied on the buggy hostname matching and will stop working.
  6. If you can’t upgrade yet, Vox Pupuli points to standalone patch scripts from overlookinfra, with the caveat that they may not apply cleanly to old versions. Treat them as a bridge, not a fix.
  7. If you find signs of compromise, assume the CA key is gone. That means rebuilding the Puppet CA and re-issuing every agent certificate, and rotating any secrets that sat in catalogs.

Detection and monitoring

Nobody has published IOCs for this one, as of November 18, 2026, so everything below is behaviour-based and my own inference from the attack chain Neodyme describes. You can catch two moments with ordinary telemetry: the enrolment that hands an attacker a certificate (the Puppet Server access log) and what happens on the server after the Ruby runs (process creation and auditd telemetry, which in my experience most Linux servers don’t collect until you set it up). The exploit request itself is likely the blind spot: as far as I can tell, the Puppet Server access log records the request line but not the report body, so you shouldn’t expect a field where a malicious __ptype would show up.

RuleCategoryLog sourceATT&CKLevel
Shell or download tool spawned by the Puppet Server JVMLinux, emerging threatlinux / process_creationT1059.004, T1190High
Puppet CA directory read by something other than the JVMLinux, emerging threatlinux / auditdT1552.004Medium
Puppet CA certificate signing request submittedWeb/App, huntingwebserver (puppetserver-access.log)T1649Low

Start with the first rule. It alerts when a Java process whose command line mentions puppetserver starts a shell, an interpreter, curl, wget, netcat, socat or base64. A healthy Puppet Server almost never does that. The exceptions are your own (this list is from general knowledge of Puppet, not the advisories): manifests that call generate(), shell-based ENC scripts and policy autosign executables. Baseline those for a week and filter them by command line.

title: Shell or Download Tool Spawned by Puppet Server JVM - Potential CVE-2026-115731 Exploitation
id: 99b9b6b1-fa53-416b-918b-8a28b20f939f
status: experimental
description: |
    Detects the Puppet Server (or OpenVox Server) Java process spawning a shell, interpreter,
    download or network tool. CVE-2026-115731 lets any holder of an agent certificate run Ruby
    inside the server, and launching a shell or tool from the server process is one likely follow-on step.
references:
    - https://github.com/OpenVoxProject/openvox/security/advisories/GHSA-ffr6-rwpm-p5wq
    - https://neodyme.io/en/blog/puppet_rce/
    - https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-115731
    - https://netsec101.com/?p=330
author: netsec101.com
date: 2026-11-18
tags:
    - attack.execution
    - attack.t1059.004
    - attack.initial-access
    - attack.t1190
    - cve.2026-115731
    - detection.emerging-threats
logsource:
    product: linux
    category: process_creation
detection:
    selection_parent:
        ParentImage|endswith: '/java'
        ParentCommandLine|contains: 'puppetserver'
    selection_child:
        Image|endswith:
            - '/sh'
            - '/bash'
            - '/dash'
            - '/zsh'
            - '/ksh'
            - '/curl'
            - '/wget'
            - '/nc'
            - '/ncat'
            - '/socat'
            - '/python'
            - '/python3'
            - '/perl'
            - '/base64'
    condition: all of selection_*
falsepositives:
    - Manifests that call the generate() function, which runs commands on the server during catalog compilation
    - External node classifier (ENC) scripts, policy-based autosign executables and trusted fact scripts that are shell or Python based
    - Custom server-side functions or report processors that shell out
level: high

Be honest about what this misses. The injected code runs inside the JVM, so an attacker who reads the CA key with Ruby’s own file functions never spawns a process and shows up as java. The auditd rule only catches the clumsier version (a cat or tar of the CA folder). It also depends on a watch I suggest in the companion post, and the CA path it uses (/etc/puppetlabs/puppetserver/ca/ on Puppet 7 and later) is my general knowledge of default installs, not something the advisories state. Check your cadir setting.

For monitoring after you patch: run puppetserver ca list --all (per the puppetserver-ca man page, --all lists all certificates; it needs a running Puppet Server) and search the access log for certificate requests and report uploads from certnames you can’t place, going back to whenever autosign was switched on (or at least to the November 3 disclosure, since the PoC has been public since then). There are no IOCs to age out. Watch instead for signed certificates whose names add a leading label to a real host, the CVE-2026-115732 pattern, even though exploitation of that bug is still unverified. Then keep the process rule on permanently, because it will catch the next server-side bug too.

I wrote up all three rules, with tuning notes, lab tests, the auditd watch and ATT&CK coverage, in a separate detection post. The YAML lives in my Detection Rules repo.

My take

This one is underrated, and I think the “authenticated” label is the reason. Authenticated, in Puppet’s world, means “holds any agent certificate”, and every server you manage holds one. The real trust boundary is not the TLS handshake; it’s whether a compromised web node can turn itself into the control plane. For five years the answer was yes.

The bug class is old news. Deserializers that let input pick the type have burned Java, .NET, Ruby and PHP for a decade. What makes this instance nasty is the location: config management servers are crown jewels we still run like internal utilities, with flat network access and autosign switched on for convenience. If an attacker owns your Puppet CA, patching is not enough; you are re-keying your fleet.

My order for tonight: patch and restart, turn off name-pattern autosign, then hunt for shells under the Puppet Server JVM and for certificates you can’t explain. If either hunt finds something, stop treating it as a Puppet bug and start treating it as a fleet-wide incident.

Sources