CVE-2026-76825
Last modified
CVE-2026-76825 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-76825?
How severe is CVE-2026-76825?
How do I fix CVE-2026-76825?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-7681A security vulnerability has been detected in jsbroks COCO A…6.5
- CVE-2026-76816Netty is an asynchronous, event-driven network application f…3.5
- CVE-2026-76819Rejected reason: Further research determined the issue resul…
- CVE-2026-7682A security flaw has been discovered in Edimax BR-6208AC 1.02…6.3
- CVE-2026-76820OpenCTI is an open source platform for managing cyber threat…7.7
- CVE-2026-76821OpenCTI is an open source platform for managing cyber threat…7.1
- CVE-2026-76827A flaw was found in search-indexer. This vulnerability allow…6.8
- CVE-2026-76829Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-7683A weakness has been identified in Edimax BR-6428nC up to 1.1…6.3
- CVE-2026-76830Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-76831Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-76832Agno's PythonTools in libs/agno/agno/tools/python.py contain…8.8
Are you affected by CVE-2026-76825?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
