CVE-2026-55830 RestrictedPython guard hooks can be shadowed via positional-only arguments
HighCVSS 8.3
EPSS 0.29%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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. Prior to 8.3, check_function_argument_names() rejected protected guard hook names for regular, variadic, and keyword-only arguments but omitted positional-only arguments, allowing getattr, getitem, write, or print to be shadowed by a local parameter and bypass the embedding application's access policy. This issue is fixed in version 8.3.
Upgrade path
8 packages: 2 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/restrictedpython(Debian 12) | = 4.0~b3-3; = 6.2-1; = 8.0-1; = 8.1-1 +2 more | No fix listed | No fix yet |
| debian/restrictedpython(Debian 13) | = 8.0-1; = 8.1-1; = 8.4-1; All versions | No fix listed | No fix yet |
| ubuntu/restrictedpython(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/restrictedpython(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/restrictedpython(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| debian/restrictedpython(Debian 14) | < 8.4-1; = 8.0-1; = 8.1-1 | 8.4-1 | Fixed |
| pypi restrictedpython(PyPI) | < 8.3; <= 8.2; = 3.4.2; = 3.4.3 +42 more | 8.3 | Fixed |
| zopefoundation RestrictedPython | = < 8.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi restrictedpython(PyPI) | < 8.3 | 8.3 |
| pypi restrictedpython(PyPI) | = 3.4.2 | No fix listed |
| pypi restrictedpython(PyPI) | = 3.4.3 | No fix listed |
| pypi restrictedpython(PyPI) | = 3.5.0 | No fix listed |
| pypi restrictedpython(PyPI) | = 3.5.1 | No fix listed |
| pypi restrictedpython(PyPI) | = 3.5.2 | No fix listed |
| pypi restrictedpython(PyPI) | = 3.6.0 | No fix listed |
| pypi restrictedpython(PyPI) | = 3.6.0a1 | No fix listed |
| pypi restrictedpython(PyPI) | = 4.0 | No fix listed |
| pypi restrictedpython(PyPI) | = 4.0a1 | No fix listed |
| pypi restrictedpython(PyPI) | = 4.0a2 | No fix listed |
| pypi restrictedpython(PyPI) | = 4.0a3 | No fix listed |
| pypi restrictedpython(PyPI) | = 4.0b1 | No fix listed |
| pypi restrictedpython(PyPI) | = 4.0b2 | No fix listed |
| pypi restrictedpython(PyPI) | = 4.0b3 | No fix listed |
| pypi restrictedpython(PyPI) | = 4.0b4 | No fix listed |
| pypi restrictedpython(PyPI) | = 4.0b5 | No fix listed |
| pypi restrictedpython(PyPI) | = 4.0b6 | No fix listed |
| pypi restrictedpython(PyPI) | = 4.0b7 | No fix listed |
| pypi restrictedpython(PyPI) | = 4.0b8 | No fix listed |
| pypi restrictedpython(PyPI) | = 5.0 | No fix listed |
| pypi restrictedpython(PyPI) | = 5.1 | No fix listed |
| pypi restrictedpython(PyPI) | = 5.2 | No fix listed |
| pypi restrictedpython(PyPI) | = 5.2a1.dev0 | No fix listed |
| pypi restrictedpython(PyPI) | = 5.3 | No fix listed |
Show 38 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi restrictedpython(PyPI) | = 5.3a1.dev0 | No fix listed |
| pypi restrictedpython(PyPI) | = 5.4 | No fix listed |
| pypi restrictedpython(PyPI) | = 6.0 | No fix listed |
| pypi restrictedpython(PyPI) | = 6.0a1.dev0 | No fix listed |
| pypi restrictedpython(PyPI) | = 6.1 | No fix listed |
| pypi restrictedpython(PyPI) | = 6.2 | No fix listed |
| pypi restrictedpython(PyPI) | = 7.0 | No fix listed |
| pypi restrictedpython(PyPI) | = 7.0a1.dev0 | No fix listed |
| pypi restrictedpython(PyPI) | = 7.0a1.dev1 | No fix listed |
| pypi restrictedpython(PyPI) | = 7.0a2.dev0 | No fix listed |
| pypi restrictedpython(PyPI) | = 7.1 | No fix listed |
| pypi restrictedpython(PyPI) | = 7.2 | No fix listed |
| pypi restrictedpython(PyPI) | = 7.2a1.dev0 | No fix listed |
| pypi restrictedpython(PyPI) | = 7.3 | No fix listed |
| pypi restrictedpython(PyPI) | = 7.4 | No fix listed |
| pypi restrictedpython(PyPI) | = 8.0 | No fix listed |
| pypi restrictedpython(PyPI) | = 8.1 | No fix listed |
| pypi restrictedpython(PyPI) | = 8.1a1.dev0 | No fix listed |
| pypi restrictedpython(PyPI) | = 8.2 | No fix listed |
| pypi restrictedpython(PyPI) | = 8.3a1.dev0 | No fix listed |
| zopefoundation RestrictedPython | = < 8.3 | No fix listed |
| pypi restrictedpython(PyPI) | <= 8.2 | No fix listed |
| debian/restrictedpython(Debian:12) | All versions | No fix listed |
| debian/restrictedpython(Debian:12) | = 4.0~b3-3 | No fix listed |
| debian/restrictedpython(Debian:12) | = 6.2-1 | No fix listed |
| debian/restrictedpython(Debian:12) | = 8.0-1 | No fix listed |
| debian/restrictedpython(Debian:12) | = 8.1-1 | No fix listed |
| debian/restrictedpython(Debian:12) | = 8.4-1 | No fix listed |
| debian/restrictedpython(Debian:13) | All versions | No fix listed |
| debian/restrictedpython(Debian:13) | = 8.0-1 | No fix listed |
| debian/restrictedpython(Debian:13) | = 8.1-1 | No fix listed |
| debian/restrictedpython(Debian:13) | = 8.4-1 | No fix listed |
| debian/restrictedpython(Debian:14) | < 8.4-1 | 8.4-1 |
| debian/restrictedpython(Debian:14) | = 8.0-1 | No fix listed |
| debian/restrictedpython(Debian:14) | = 8.1-1 | No fix listed |
| ubuntu/restrictedpython(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/restrictedpython(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/restrictedpython(Ubuntu:26.04) | All versions | No fix listed |
References
- https://github.com/zopefoundation/RestrictedPython/security/advisories/GHSA-ffg3-p8fm-mjx2 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/zopefoundation/RestrictedPython/commit/3737596ec9f28c34a073cc845bd2f4c0a80cb671 patch
- github.com product
- pypi.org product
- github.com vendor-advisory
- Debian Security Tracker CVE-2026-55830 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org