NetSight
high7.9

CVE-2025-22153

try/except* clauses could allow bypass RestrictedPython via type confusion bug in the CPython interpreter

Impact

### Impact Via a type confusion bug in the CPython interpreter when using `try/except*` RestrictedPython could be bypassed. We believe this should be fixed upstream in Python itself until that we remove support for `try/except*` from RestrictedPython. (It has been fixed for some Python versions.) ### Patches Patched in version 8.0 by removing support for `try/except*` clauses ### Workarounds There is no workaround. ### References none

Affected packages

EcosystemPackageAffectedFixed in
pipRestrictedPython>= 6.0, < 8.08.0

Affected products

ProductAffected versions
3.11 And
before 3.13.2

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References