CVE-2025-22153
Last modified
CVE-2025-22153 is a high-severity vulnerability rated 7.9/10 on the CVSS scale. RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Via a type confusion bug in versions of the CPython interpreter starting in 3.11 and prior to 3.13.2 when using `try/except*`, RestrictedPython starting in version 6.0 and prior to version 8.0 could be bypassed. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
Description
RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Via a type confusion bug in versions of the CPython interpreter starting in 3.11 and prior to 3.13.2 when using `try/except*`, RestrictedPython starting in version 6.0 and prior to version 8.0 could be bypassed. The issue is patched in version 8.0 of RestrictedPython by removing support for `try/except*` clauses. No known workarounds are available.
Metrics
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:L
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-22153?
How severe is CVE-2025-22153?
How do I fix CVE-2025-22153?
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 2025
- CVE-2025-22146Sentry is a developer-first error tracking and performance m…9.1
- CVE-2025-22149JWK Set (JSON Web Key Set) is a JWK and JWK Set Go implement…2.1
- CVE-2025-2215A vulnerability classified as critical was found in Doufox u…5.1
- CVE-2025-22150Undici is an HTTP/1.1 client. Starting in version 4.5.0 and …6.8
- CVE-2025-22151Strawberry GraphQL is a library for creating GraphQL APIs. S…3.7
- CVE-2025-22152Atheos is a self-hosted browser-based cloud IDE. Prior to v6…9.4
- CVE-2025-22154Rejected reason: To maintain compliance with CNA rules, we h…
- CVE-2025-22155Rejected reason: To maintain compliance with CNA rules, we h…
- CVE-2025-22157This High severity PrivEsc (Privilege Escalation) vulnerabil…8.8
- CVE-2025-2216A vulnerability, which was classified as critical, has been …9.8
- CVE-2025-22165This Medium severity ACE (Arbitrary Code Execution) vulnerab…7.3
- CVE-2025-22166This High severity DoS (Denial of Service) vulnerability was…7.5
Are you affected by CVE-2025-22153?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
