{"id":"CVE-2026-55244","published":"2026-09-14T20:00:24Z","modified":"2026-09-16T16:17:50Z","title":"ASTEVAL: Sandbox Escape via BaseException Subclasses","vendor":"lmfit","product":"asteval","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00177,"percentile":0.07309,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"references":[{"url":"https://github.com/lmfit/asteval/security/advisories/GHSA-89v8-rhwq-hf77","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/lmfit/asteval/pull/153","tags":["x_refsource_MISC"]},{"url":"https://github.com/lmfit/asteval/commit/9c625b3674f8d05f206708bb85afca17a87694a4","tags":["x_refsource_MISC"]},{"url":"https://github.com/lmfit/asteval/commit/c49c99a67acb63eb7410231932250bd820380e45","tags":["x_refsource_MISC"]},{"url":"https://github.com/lmfit/asteval/releases/tag/1.0.9","tags":["x_refsource_MISC"]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":1.46},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"lmfit","affectedVersions":[{"vendor":"lmfit","product":"asteval","versions":["< 1.0.9"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-16T16:17:25.234532Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"asteval","vulnerableRanges":["<1.0.9"],"patched":["1.0.9"],"from":["GHSA-89v8-rhwq-hf77","PYSEC-2026-3807"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-78058","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-lmfit-asteval-cve-2025-24359","parents":[{"from":"CVE-2025-24359","to":"CVE-2026-55244","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:asteval","fromFixed":"1.0.6","toFixed":"1.0.9","daysApart":598},{"kind":"same-code","provenance":"machine","files":["asteval/asteval.py","asteval/astutils.py"],"commits":["https://github.com/lmfit/asteval/commit/45bb47533f7abb5479618ae7f6a809215700dcb2","https://github.com/lmfit/asteval/commit/9c625b3674f8d05f206708bb85afca17a87694a4","https://github.com/lmfit/asteval/commit/c49c99a67acb63eb7410231932250bd820380e45"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2026-55244","to":"CVE-2026-102734","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["asteval/asteval.py","asteval/astutils.py"],"commits":["https://github.com/lmfit/asteval/commit/a3e56e7f8ed567a4817684d94213b290359077b4","https://github.com/lmfit/asteval/commit/9c625b3674f8d05f206708bb85afca17a87694a4","https://github.com/lmfit/asteval/commit/c49c99a67acb63eb7410231932250bd820380e45"],"basis":"shared function","functions":["eval","formatter_field_name_split","import_module","on_call","on_raise"]}]}],"packageHistory":[{"cve":"CVE-2025-24359","published":"2025-01-24","fixed":"1.0.6","kev":false},{"cve":"CVE-2026-55244","published":"2026-09-14","fixed":"1.0.9","kev":false}],"package":"PyPI:asteval"}}