Overview
Puppet Server processes reports from agents that include rich-data structures. The report-processing code fails to validate serialized input, leading to deserialization of untrusted data. An attacker who can present a certificate signed by the Puppet CA can craft a malicious report and trigger code execution on the server. Environments that auto-sign certificates without strict checks are especially at risk.
Technical details
The vulnerability resides in the handling of rich-data types submitted via HTTP PUT to the report endpoint. The server deserializes the data without proper integrity checks. Exploitation requires a client possessing any certificate issued by the Puppet CA; if the CA auto-signs requests without rigorous verification, an attacker on the network can acquire such a certificate and then submit a crafted report to achieve remote code execution as the Puppet service user.
Impact
Successful exploitation results in arbitrary code execution on the Puppet Server, allowing the attacker to run commands with the privileges of the Puppet service account. This compromises the configuration management infrastructure and can lead to further lateral movement within the managed environment. All deployments of Puppet Server that accept reports from agents signed by the affected CA are exposed.
Recommended actions
- Patch Puppet Server to a version that resolves the deserialization issue.
- Restrict network access to the Puppet Server report endpoint to trusted hosts only.
- Disable processing of agent reports that contain rich-data types until a patch is applied.
- Monitor HTTP PUT requests to the /report endpoint for unusual payload sizes or content.
- Review and tighten certificate authority auto-signing policies to require strong verification.
Detection
Enable logging of all HTTP PUT requests to the Puppet Server report endpoint and review for unexpected rich-data structures or large payloads. Correlate these logs with certificate issuance events to identify agents that received certificates without manual approval. Alert on any report submissions from newly issued or unknown certificates.
Reference: NVD entry for CVE-2026-115731