CRITICALvulnerability·

CVE-2026-115731: Perforce Puppet Enterprise Deserialization RCE

A critical deserialization of untrusted data vulnerability (CVE-2026-115731) in Perforce Puppet Enterprise’s report-processing code allows arbitrary code execution. An attacker with a CA-signed agent certificate can exploit this by submitting a crafted report via a PUT request. This vulnerability poses a significant risk, especially where certificate authorities automatically sign requests without strong verification, enabling unauthenticated network attackers to gain a valid certificate.

This report was researched and drafted by an AI agent and reviewed by a human analyst prior to publication. View the agent workflow →

Overview

CVE-2026-115731 is a critical deserialization of untrusted data vulnerability affecting Perforce Puppet Enterprise. It allows a client with any CA-signed agent certificate to execute arbitrary code on the Puppet Server as the service user. This is achieved by submitting a report containing a crafted rich-data type via a PUT request, posing a severe risk to unpatched Puppet Server instances.

Technical Analysis

The vulnerability resides in Puppet’s report-processing code, specifically within Puppet Server. A client possessing a valid CA-signed agent certificate can exploit this by sending a specially crafted report containing a malicious rich-data type. This report is submitted to the Puppet Server via a PUT request. Upon processing, the deserialization of the untrusted data leads to arbitrary code execution on the Puppet Server, running in the context of the service user. The attack vector is amplified if the certificate authority (CA) automatically signs agent certificate requests without robust verification, allowing an unauthenticated network attacker to obtain a valid certificate and subsequently exploit the vulnerability.

Affected versions:
* puppet puppet versions >= 8.0.0 and < 8.22.2
* puppet puppet versions >= 9.0.0 and < 9.1.3
* puppet puppet_enterprise versions >= 2023.8.0 and < 2023.8.13
* puppet puppet_enterprise versions >= 2025.0.0 and < 2025.12.1
* puppet puppet_enterprise version 2026.0.0

Weaknesses:
* CWE-94: Improper Control of Generation of Code (‘Code Injection’)
* CWE-502: Deserialization of Untrusted Data

CVSS 3.1 Score: 9.9 (CRITICAL)
* Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Detection

  • Monitor web server access logs for PUT requests to Puppet report endpoints (/puppet/v3/report/ or similar) originating from unexpected IP addresses or containing unusually large or malformed request bodies.
  • Monitor process creation events on Puppet Server hosts for suspicious child processes spawned by the Puppet Server service user or the java.exe (or java) process running Puppet Server. Look for cmd.exe, powershell.exe, bash, sh, or other unexpected executables.
  • Review Puppet Server logs for errors or warnings related to report processing, deserialization failures, or unexpected data types.
  • Inspect Puppet agent reports for anomalies or unexpected rich-data types that could indicate attempted exploitation.

Sigma Detection Rules

⚠️ AI-generated detection rules. These are experimental starting points. Review field names, EventIDs, and logic against your environment’s schema before deploying. Tune to reduce false positives.

Puppet Server Suspicious Process Creation

title: Puppet Server Suspicious Process Creation
id: 927b2d5a-1c3f-4e0d-b1e7-8f5c0a2a4b0d
status: experimental
description: Detects suspicious process creation by the Puppet Server process, indicative of arbitrary code execution via CVE-2026-115731.
logsource:
  product: windows
  service: sysmon
detection:
  selection_parent:
    ParentImage|endswith: '\java.exe'
    CommandLine|contains: 'puppetserver'
  selection_child:
    Image|endswith:
      - '\cmd.exe'
      - '\powershell.exe'
      - '\pwsh.exe'
      - '\bash.exe'
      - '\sh.exe'
  condition: selection_parent and selection_child
level: critical

Puppet Server Suspicious Report PUT Request

title: Puppet Server Suspicious Report PUT Request
id: 7e1f4c3b-5d6a-4e8c-8f1b-0a2b3c4d5e6f
status: experimental
description: Detects PUT requests to Puppet report endpoints that could indicate an attempted exploitation of CVE-2026-115731.
logsource:
  category: webserver
detection:
  selection:
    cs-method: 'PUT'
    cs-uri-stem|contains:
      - '/puppet/v3/report/'
      - '/puppet-enterprise/v3/report/'
  condition: selection
level: high

Mitigations

  1. Patch Immediately: Upgrade Puppet and Puppet Enterprise to the latest non-vulnerable versions as recommended by Perforce. Refer to the vendor advisory for specific patch releases.
  2. Strengthen CA Verification: Implement strong verification processes for all certificate signing requests (CSRs) to prevent unauthenticated attackers from obtaining valid agent certificates. Avoid automatic signing without robust checks.
  3. Network Segmentation: Isolate Puppet Server instances from general network access. Restrict inbound connections to only necessary Puppet agents and administrative workstations.
  4. Least Privilege: Ensure the Puppet Server service runs with the minimum necessary privileges to limit the impact of successful exploitation.
  5. Input Validation: While patching is the primary fix, ensure any custom Puppet modules or integrations perform rigorous input validation on data received from agents.

References

  • https://portal.perforce.com/s/cve/a91Qi000003IaHpIAK/report-deserialization-code-execution
  • https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-115731
  • https://nvd.nist.gov/vuln/detail/CVE-2026-115731

Indicators of Compromise

No public IOCs available at time of writing.

MITRE ATT&CK

  • T1190 — Exploit Public-Facing Application
  • T1059 — Command and Scripting Interpreter
🤖 AI Attribution
Generated by gemini-2.5-flash ·
2,121 input / 1,606 output tokens ·
Reviewed and approved by a human analyst before publication
#vulnerability#critical#deserialization#puppet#rce#vulnerability