CVE-2026-55244 ASTEVAL: Sandbox Escape via BaseException Subclasses
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
ASTEVAL is an evaluator of Python expressions and statements. Prior to 1.0.9, FROM_PY in asteval/astutils.py exposes BaseException, SystemExit, KeyboardInterrupt, and GeneratorExit to expressions evaluated by asteval.Interpreter.eval(), while run() and eval() in asteval/asteval.py catch Exception rather than these non-Exception BaseException subclasses. When an attacker-controlled expression raises one of these classes, on_raise() passes the class to raise_exception(), and the resulting exception bypasses the interpreter's safety handlers and propagates into the calling application. A consuming service that evaluates untrusted expressions can therefore be terminated or have signal and cleanup handling disrupted, causing denial of service. The separately documented read-only open() capability is not part of this vulnerability. This issue is fixed in version 1.0.9.
Upgrade path
9 packages: 1 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/python-asteval(Debian 12) | = 0.9.28-1; = 0.9.30-1; = 0.9.31-1; = 1.0.6-1 +2 more | No fix listed | No fix yet |
| debian/python-asteval(Debian 13) | = 1.0.6-2; All versions | No fix listed | No fix yet |
| debian/python-asteval(Debian 14) | = 1.0.6-2; All versions | No fix listed | No fix yet |
| ubuntu/python-asteval(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-asteval(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-asteval(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-asteval(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| pypi asteval(PyPI) | < 1.0.9; = 0.9; = 0.9.1; = 0.9.2 +40 more | 1.0.9 | Fixed |
| lmfit asteval | = < 1.0.9 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi asteval(PyPI) | < 1.0.9 | 1.0.9 |
| pypi asteval(PyPI) | = 0.9 | No fix listed |
| pypi asteval(PyPI) | = 0.9.1 | No fix listed |
| pypi asteval(PyPI) | = 0.9.10 | No fix listed |
| pypi asteval(PyPI) | = 0.9.11 | No fix listed |
| pypi asteval(PyPI) | = 0.9.12 | No fix listed |
| pypi asteval(PyPI) | = 0.9.13 | No fix listed |
| pypi asteval(PyPI) | = 0.9.14 | No fix listed |
| pypi asteval(PyPI) | = 0.9.15 | No fix listed |
| pypi asteval(PyPI) | = 0.9.16 | No fix listed |
| pypi asteval(PyPI) | = 0.9.17 | No fix listed |
| pypi asteval(PyPI) | = 0.9.18 | No fix listed |
| pypi asteval(PyPI) | = 0.9.19 | No fix listed |
| pypi asteval(PyPI) | = 0.9.2 | No fix listed |
| pypi asteval(PyPI) | = 0.9.20 | No fix listed |
| pypi asteval(PyPI) | = 0.9.21 | No fix listed |
| pypi asteval(PyPI) | = 0.9.22 | No fix listed |
| pypi asteval(PyPI) | = 0.9.23 | No fix listed |
| pypi asteval(PyPI) | = 0.9.24 | No fix listed |
| pypi asteval(PyPI) | = 0.9.25 | No fix listed |
| pypi asteval(PyPI) | = 0.9.26 | No fix listed |
| pypi asteval(PyPI) | = 0.9.27 | No fix listed |
| pypi asteval(PyPI) | = 0.9.28 | No fix listed |
| pypi asteval(PyPI) | = 0.9.29 | No fix listed |
| pypi asteval(PyPI) | = 0.9.3 | No fix listed |
Show 34 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi asteval(PyPI) | = 0.9.30 | No fix listed |
| pypi asteval(PyPI) | = 0.9.31 | No fix listed |
| pypi asteval(PyPI) | = 0.9.32 | No fix listed |
| pypi asteval(PyPI) | = 0.9.33 | No fix listed |
| pypi asteval(PyPI) | = 0.9.4 | No fix listed |
| pypi asteval(PyPI) | = 0.9.5 | No fix listed |
| pypi asteval(PyPI) | = 0.9.6 | No fix listed |
| pypi asteval(PyPI) | = 0.9.7 | No fix listed |
| pypi asteval(PyPI) | = 0.9.8 | No fix listed |
| pypi asteval(PyPI) | = 0.9.9 | No fix listed |
| pypi asteval(PyPI) | = 1.0.0 | No fix listed |
| pypi asteval(PyPI) | = 1.0.1 | No fix listed |
| pypi asteval(PyPI) | = 1.0.2 | No fix listed |
| pypi asteval(PyPI) | = 1.0.3 | No fix listed |
| pypi asteval(PyPI) | = 1.0.4 | No fix listed |
| pypi asteval(PyPI) | = 1.0.5 | No fix listed |
| pypi asteval(PyPI) | = 1.0.6 | No fix listed |
| pypi asteval(PyPI) | = 1.0.7 | No fix listed |
| pypi asteval(PyPI) | = 1.0.8 | No fix listed |
| lmfit asteval | = < 1.0.9 | No fix listed |
| debian/python-asteval(Debian:12) | All versions | No fix listed |
| debian/python-asteval(Debian:12) | = 0.9.28-1 | No fix listed |
| debian/python-asteval(Debian:12) | = 0.9.30-1 | No fix listed |
| debian/python-asteval(Debian:12) | = 0.9.31-1 | No fix listed |
| debian/python-asteval(Debian:12) | = 1.0.6-1 | No fix listed |
| debian/python-asteval(Debian:12) | = 1.0.6-2 | No fix listed |
| debian/python-asteval(Debian:13) | All versions | No fix listed |
| debian/python-asteval(Debian:13) | = 1.0.6-2 | No fix listed |
| debian/python-asteval(Debian:14) | All versions | No fix listed |
| debian/python-asteval(Debian:14) | = 1.0.6-2 | No fix listed |
| ubuntu/python-asteval(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python-asteval(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python-asteval(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/python-asteval(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/lmfit/asteval/security/advisories/GHSA-89v8-rhwq-hf77 exploit vendor-advisory
- https://github.com/lmfit/asteval/pull/153 patch
- github.com patch
- github.com product
- https://github.com/lmfit/asteval/releases/tag/1.0.9
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- https://github.com/lmfit/asteval/commit/9c625b3674f8d05f206708bb85afca17a87694a4
- https://github.com/lmfit/asteval/commit/c49c99a67acb63eb7410231932250bd820380e45
- Debian Security Tracker CVE-2026-55244 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-78058 third-party-advisory