{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55244","id":"CVE-2026-55244","title":"ASTEVAL: Sandbox Escape via BaseException Subclasses","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 raise","descriptionLong":"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.","published":"2026-09-14T20:00:24.584Z","updated":"2026-10-28T02:30:42.820502950Z","reserved":"2026-06-16T16:44:00.624Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["lmfit asteval"],"affectedProducts":[{"vendor":"lmfit","product":"asteval","defaultStatus":null,"versions":[{"version":"< 1.0.9","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"asteval","purl":"pkg:pypi/asteval","ranges":["<1.0.9"],"fixed":["1.0.9"],"advisory":"GHSA-89v8-rhwq-hf77"}],"cwes":["CWE-248"],"aliases":["GHSA-89v8-rhwq-hf77","PYSEC-2026-3807"],"references":[{"url":"https://github.com/lmfit/asteval/security/advisories/GHSA-89v8-rhwq-hf77","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/lmfit/asteval/pull/153","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/lmfit/asteval/commit/9c625b3674f8d05f206708bb85afca17a87694a4","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/lmfit/asteval/commit/c49c99a67acb63eb7410231932250bd820380e45","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/lmfit/asteval/releases/tag/1.0.9","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55244.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55244","tags":["advisory"]},{"url":"https://github.com/lmfit/asteval/commit/a3e56e7f8ed567a4817684d94213b290359077b4","tags":["web"]},{"url":"https://github.com/lmfit/asteval","tags":["package"]},{"url":"https://pypi.org/project/asteval","tags":["package"]},{"url":"https://github.com/advisories/GHSA-89v8-rhwq-hf77","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00177,"epssPercentile":0.07423,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55244","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55244","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55244","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-89v8-rhwq-hf77","ok":true,"note":"GHSA-89v8-rhwq-hf77"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55244","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}