Skip to main content

Pyro3 CVE-2026-31048

| EUVDEUVD-2026-22059 CRITICAL
Code Injection (CWE-94)
2026-04-13 mitre
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach network-exposed Pyro3 daemon
  2. Delivery
    Craft malicious pickle payload
  3. Exploit
    Send as protocol message
  4. Execution
    Daemon unpickles untrusted bytes
  5. Impact
    Execute arbitrary code in server process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a Pyro3 daemon be network-reachable by the attacker and that it deserialize the attacker's message via pickle - which is Pyro3's default wire behavior, so no non-default feature toggle is needed; the concrete prerequisite is simply the ability to send a message to a listening Pyro daemon that unpickles it. Limiting factors: the Pyro port must be reachable (many deployments bind internally or firewall it), and the target must be running the legacy Pyro 3.x line rather than newer Pyro4/Pyro5. There is no user-interaction or authentication barrier per the CVSS vector (PR:N/UI:N), so the primary real-world limiter is network exposure and the small remaining install base rather than any technical guard.

Impact

The signals are sharply divided. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C/I/A all High = 9.8) and SSVC (Automatable: yes, Technical Impact: total) indicate a maximally severe, easily automatable network RCE. However, SSVC records Exploitation as 'none', the vulnerability is not in CISA KEV, and EPSS is only 0.02% (4th percentile) - pointing to negligible real-world exploitation activity. This divergence is best explained by prevalence rather than difficulty: Pyro3 is a retired, niche library with a small deployment footprint and typically internal-only exposure, so a technically trivial bug attracts little mass-scanning interest. The practical risk is high for the specific, likely rare environments still running Pyro3 with network-reachable daemons, and low in aggregate. Note the exploitation prerequisite is that the daemon actually receives and unpickles attacker traffic - reachability of the Pyro port is the gating factor the raw CVSS score does not capture.

Exploit ScenarioDerived

An attacker with network reachability to a Pyro3 daemon crafts a malicious pickled object whose reduce method invokes an OS command, then sends it as a normal protocol message; when the daemon deserializes the payload it executes the attacker's code in the server process context. Because AC:L and PR:N/UI:N apply, no authentication, user interaction, or special timing is needed once the port is reachable, and the attack is automatable per SSVC. No public exploit is identified at time of analysis, though the technique (pickle __reduce__ abuse) is well documented.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Remote code execution in Pyro (Python Remote Objects) 3.x arises because the wire protocol deserializes untrusted client messages with Python's pickle module, letting an attacker who can reach a Pyro daemon run arbitrary code by sending a crafted pickled message. All Pyro 3.x deployments that accept network connections are affected, and CWE-94 code injection combined with the CVSS 9.8 rating reflects full compromise of the host process. There is no public exploit identified at time of analysis, and the low EPSS score (0.02%) suggests no observed opportunistic exploitation despite the trivial technical requirements.

RemediationAI

No vendor-released patched version is identified at time of analysis, and Pyro3 is a retired codebase; the strongest remediation is to migrate off Pyro3 to a maintained RPC framework or a Pyro version/serializer that does not unpickle untrusted data, since pickle-based transport is insecure by design. As compensating controls: restrict network access to the Pyro daemon port so only trusted, authenticated hosts can connect (e.g., firewall the Pyro port to a management subnet or bind it to localhost), which prevents untrusted clients from delivering pickled payloads but breaks legitimate remote clients that rely on open access; require transport-level mutual authentication/VPN in front of the daemon so unauthenticated peers cannot reach the deserializer; and consult Pyro's own security guidance (github.com/irmen/Pyro3/blob/master/docs/9-security.html#L341-L346) and the advisory GHSA-7625-w9h5-83rv for configuration hardening. Treat any deployment that accepts pickle from clients as trust-equivalent to granting those clients shell access.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Pyro3 is a legacy Python RPC framework that serializes remote method calls and their arguments for transport between clients and a Pyro daemon. The flaw is the classic insecure-deserialization pattern (CWE-94 / code injection): the protocol layer (referenced at Pyro/protocol.py lines 672-711) unpickles incoming byte streams, and pickle's __reduce__ mechanism executes arbitrary callables during object reconstruction. Because pickle is not a safe serialization format for untrusted input, any endpoint that unpickles attacker-controlled bytes effectively grants code execution; the CPE data is unhelpful here (listed as 'n/a'), so affected-product identity comes from the reference URLs pointing to the irmen/Pyro3 repository rather than structured CPE.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Pyro3 unpickles untrusted client messages by default over the network with no authentication or interaction, yielding full code execution, so AV:N/AC:L/PR:N/UI:N and C/I/A all High.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Apr 15, 2026 - 16:22 NVD
9.8 (CRITICAL)
CVE Published
Apr 13, 2026 - 00:00 nvd
CRITICAL 9.8

DescriptionCVE.org

An issue in the <code>pickle</code> protocol of Pyro v3.x allows attackers to execute arbitrary code via supplying a crafted pickled string message.

Executive ViewAI

Why It Matters

Pyro 3.x deployments are vulnerable to remote code execution attacks delivered through the network, potentially compromising all instances exposed to network connections. No vendor patch is available for this version line. Attackers who can reach an exposed Pyro daemon can gain complete control of the host system.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict Pyro daemon network access to pre-approved internal clients only via firewall rules; disable external exposure where operationally feasible; implement network segmentation to isolate Pyro deployments; run Pyro processes with minimal privileges; monitor for suspicious connection attempts to Pyro services.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Prevalence
Low
retired, niche Python RPC library with small install base
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy