cve.bz

CVE-2026-76825 zopefoundation restrictedpython: Reflection Injection

8.4 highEPSS 0.6%Fix available

High (8.4) in zopefoundation restrictedpython. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in restrictedpython 8.4.

On this page
RestrictedPython is a tool that helps define a subset of the Python language for accepting program input in a trusted environment. Prior to 8.4, RestrictedPython could allow a sandbox escape when a custom import policy or globals exposed the standard library string module, the string.Formatter class, a Formatter instance, or a Formatter subclass to restricted code. The string.Formatter methods format, get_field, get_value, and vformat performed attribute and item traversal internally without passing through RestrictedPython's safer_getattr protections. Restricted code could use those live object references to reach function globals, builtins, file access, or code execution primitives, affecting confidentiality, integrity, and availability in the host environment. This issue is fixed in version 8.4.

Severity

CVSS 3.1

8.4 high
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 51st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
CWE-470 Use of Externally-Controlled Input to Select Classes or Code (Reflection Injection)
CWE-680 Integer Overflow to Buffer Overflow
CWE-693 Protection Mechanism Failure
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection, A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-76825 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-76825?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-76825?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-76825 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
zopefoundation RestrictedPython< 8.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hp3v-5vw7-fx9wPyPIrestrictedpython<8.48.4
PYSEC-2026-4161PyPIrestrictedpython<8.48.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13restrictedpythonno fix listedDEBIAN-CVE-2026-76825
Debian14restrictedpython8.4-1DEBIAN-CVE-2026-76825
Ubuntu16.04:LTS, 18.04:LTS, 26.04:LTS and 4 morerestrictedpythonno fix listedUBUNTU-CVE-2026-76825

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-138 Reflection Injection Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-680 (11), CWE-693 (17), CWE-200 (59).

References

Check your stackJSON