MEDIUM 5.0 GitHub

CVE-2026-55244

asteval has a Sandbox Escape via BaseException Subclasses

## Summary An attacker who can supply expressions to `asteval.Interpreter.eval()` can raise `SystemExit`, `KeyboardInterrupt`, `GeneratorExit`, or `BaseException` from inside the sandbox. These exceptions are subclasses of `BaseException` but not `Exception`, so they bypass the `except Exception:` safety net in both `run()` and `eval()`. The exception propagates verbatim to the calling application, terminating the process or disrupting signal and cleanup handlers. This is distinct from prior v

Affected Products

References

Published: 2026-08-20 · Source: GitHub · Feed updated: 2026-08-20
This medium severity vulnerability with a CVSS score of 5.0 was published on 2026-08-20 via GitHub. Affected: pip/asteval < 1.0.9.
vulnfeed aggregates 11796 vulnerabilities from NVD, CISA KEV, Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.