Skip to content
RCE Write-up Advanced

Puppet CVE-2026–115731 Exploited: Patch Puppet Server Now

A deserialization flaw in Puppet Server's report-processing code lets a client holding any CA-signed agent certificate execute arbitrary code on the server as its service account. An attacker could thereby access the CA signing key and potentially compromise the whole managed fleet.

EL MOSTAFA OUCHEN Follow

Published on medium.com

CVE-2026–115731 is a deserialization flaw in the report-processing code of Puppet Server, used by Puppet Enterprise, Puppet Core and the open-source fork OpenVox. Perforce describes it as allowing a client that holds any CA-signed agent certificate to execute arbitrary code on the Puppet Server with the permissions of…

El Mostafa Ouchen, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The server trusts an attacker-supplied type name in a serialized Ruby object inside an agent report, which reaches a Ruby class_eval call.

Impact

Code runs as the Puppet service user, giving access to the CA signing key and potentially enabling compromise of managed systems; a public exploit exists and CISA lists the flaw as actively exploited.

What the attacker needed

A CA-signed agent certificate; ability to send a report to the server

The fix

It was fixed in the listed Puppet Enterprise, Puppet Core and OpenVox versions; until patching, restrict network access to the server and the report endpoint and disable or tighten autosigning.

How it was found

  1. Obtain a CA-signed agent certificate, for example by requesting one where the CA uses naïve autosigning.
  2. Send a crafted JSON report containing an event that carries a serialized Ruby object.
  3. The server deserializes the object and runs code as the Puppet service user.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Puppet is software that centrally manages the configuration of many computers. Its server accepts reports from each managed machine, and it trusted a type name inside those reports enough to run code from it. Anyone with a valid certificate from the server's own certificate authority could therefore run their own code on the central server.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by EL MOSTAFA OUCHEN

View all

5 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.