Loading advisory.
Loading advisory.
try/except* clauses could allow bypass RestrictedPython via type confusion bug in the CPython interpreter
Via a type confusion bug in the CPython interpreter when using try/except RestrictedPython could be bypassed.
Published 2025-01-23 17:19 UTC · Modified 2026-07-07 17:57 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| restrictedpython | PyPI | >= 6.0, < 8.0 versions 6.0, 6.1, 6.2, 7.0, 7.0a1.dev0, 7.0a1.dev1, 7.0a2.dev0, 7.1, 7.2, 7.2a1.dev0, 7.3, 7.4 | 8.0 | pip install --upgrade 'restrictedpython>=8.0' |
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.)
Patched in version 8.0 by removing support for try/except* clauses
There is no workaround.
none
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.004 on 2026-11-24 to 0.007 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |
| 2026-11-26 | 0.007 | 0.004 | v2026.06.15 |