Skip to main content

RestrictedPython CVE-2026-55830

| EUVDEUVD-2026-42434 HIGH
Incomplete List of Disallowed Inputs (CWE-184)
8.3
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with script-authoring Plone account
  2. Delivery
    Navigate to Python Script editor or TTW TALES context
  3. Exploit
    Craft introspection-based sandbox escape payload
  4. Execution
    Submit payload for server-side execution
  5. Persist
    RestrictedPython guard bypassed
  6. Impact
    Execute arbitrary code as web server process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
Exploitation Conditions

Exploitation requires an authenticated account in the Plone or Zope application with permission to create, edit, or execute Python Script objects or TALES Python expressions through the web interface - this is a non-default, explicitly granted role (typically Manager or a custom role with 'Add Python Scripts' ZMI permission). The vulnerability exists specifically in the RestrictedPython sandbox execution path; deployments that do not expose through-the-web Python scripting to any untrusted users are not reachable by this attack. Exploitation is limited to the network-accessible Plone/Zope HTTP interface; no local system access is required. Authentication level (whether PR:L editor-class or PR:H manager-only) is not confirmed from the provided input and should be verified against the advisory.

Impact

The stated vendor severity is 8.3 high. No official CVSS vector was provided in the input, so metric-level analysis is inferred rather than confirmed. A sandbox escape that achieves arbitrary code execution on the host server carries intrinsically high impact (C:H/I:H/A:H with scope change), but the realistic attack complexity depends heavily on the exploitation primitive - RestrictedPython escapes typically require non-trivial Python introspection chains (AC:H or AC:L depending on sophistication). Critically, exploitation requires the attacker to already have permission to create or edit Python Scripts or TALES expressions in Plone, which is a non-default, privileged role (typically Manager or at minimum a delegated Script author role). This PR:L or PR:H prerequisite materially limits the realistic attacker population. No EPSS data, KEV listing, or public POC were provided, meaning exploitation probability signals beyond the vendor severity score are absent. The scope-changing nature (S:C) of breaking out of a language sandbox is the primary severity driver. For organizations where only trusted administrators author Python scripts, operational risk is low despite the high theoretical score; for multi-tenant or contributor-model Plone sites, risk is substantially elevated.

Exploit ScenarioDerived

An attacker with a Plone account that has 'Script (Python)' authoring permissions - for example, a content editor on a multi-contributor site - navigates to the Zope Management Interface or Plone's script editor and submits a crafted Python script containing an introspection-based sandbox bypass (e.g., traversing __class__.__mro__ or abusing guard function gaps). Upon execution, the payload escapes the RestrictedPython sandbox and runs arbitrary code as the web server process user, potentially enabling full server compromise. No public proof-of-concept was identified in the provided input, but the class of bypass is well-documented in Python sandbox research.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 23, 2026

Sandbox escape in RestrictedPython (zopefoundation/RestrictedPython, GHSA-ffg3-p8fm-mjx2) allows an authenticated attacker who can execute code within the restricted Python environment to break out of that sandbox and execute arbitrary Python on the underlying host. This affects Plone deployments that rely on RestrictedPython to safely run through-the-web (TTW) Python Scripts and TALES expressions. Disclosed June 2026 as part of a coordinated Plone security release; no public exploit code or CISA KEV listing identified at time of analysis, but the 8.3 high severity and scope-changing nature make it a meaningful risk for any Zope/Plone installation where untrusted or semi-trusted users can author Python scripts.

RemediationAI

Upgrade RestrictedPython to the patched version identified in the GitHub Security Advisory at https://github.com/zopefoundation/RestrictedPython/security/advisories/GHSA-ffg3-p8fm-mjx2 - the exact fixed version is not confirmed in the provided input and must be read from the advisory directly. For Plone deployments, the coordinated release announced June 23, 2026 via oss-security (https://seclists.org/oss-sec/2026/q2/1009) should be applied in full, as multiple components were patched simultaneously. As a compensating control prior to patching, restrict or remove the 'Add Python Scripts' permission from all non-administrative roles in the Zope/Plone ZMI; this eliminates the attack surface by preventing untrusted users from submitting code for sandbox execution, at the cost of disabling legitimate TTW scripting for those roles. Review existing through-the-web Script (Python) objects for suspicious introspection patterns as a detection measure.

Affected VersionsENISA

RestrictedPython < 8.3

Affected Packages

pypi restrictedpython fix: 8.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

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

Technical ContextAI · show details

RestrictedPython (zopefoundation/RestrictedPython) is a Python library that compiles and executes Python source code in a sandboxed environment by rewriting the AST and intercepting potentially dangerous operations via a restricted builtins dictionary and guard functions. Zope and Plone use it as the execution engine for user-authored 'Script (Python)' objects and TALES Python expressions evaluated server-side. A sandbox escape means that a crafted Python expression or script bypasses the guard functions - commonly achieved through attribute access chains, __class__ traversal, or abuse of Python introspection - and reaches unrestricted interpreter primitives. No CWE was supplied in the input, but this class of vulnerability is consistent with CWE-693 (Protection Mechanism Failure) or CWE-284 (Improper Access Control) at the sandbox boundary. Exact affected RestrictedPython versions are not stated in the provided input; the advisory at GHSA-ffg3-p8fm-mjx2 should be consulted for the precise version range.

Know when Python 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

Vendor (CNA) PRIMARY 8.3 HIGH
AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L
vuln.today AI 8.5 HIGH

Network-delivered via web interface; AC:H reflects non-trivial sandbox escape craft; PR:L for required script-authoring role; S:C for full sandbox boundary break.

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

Primary rating from Vendor (CNA).

CVSS VectorVendor

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

Lifecycle Timeline

2
Patch available
Jul 08, 2026 - 23:04 EUVD
CVSS changed
Jul 08, 2026 - 22:22 NVD
8.3 (HIGH)

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
Plone/Zope ecosystem widely used in government and NGO sectors
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

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