Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Versions of the asteval package before 1.0.9 are affected. With numpy enabled, which is the default, an attacker who can supply expressions to the Interpreter can reach ctypes types through numpy and read and write arbitrary process memory, which amounts to arbitrary code execution and a full sandbox escape. Upgrade asteval to 1.0.9 or later. Until then, construct the Interpreter with use_numpy=False.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.5 | Medium | 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0013, the 2nd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:08 UTC First seen by agentprime
- 31 Oct 2026, 14:08 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-9w56-46f6-3qhx
- OSV: GHSA-9w56-46f6-3qhx
- github.com/lmfit/asteval/security/advisories/GHSA-9w56-46f6-3qhx
- github.com/lmfit/asteval/pull/153
- github.com/lmfit/asteval/commit/a3e56e7f8ed567a4817684d94213b290359077b4
- github.com/lmfit/asteval
- github.com/lmfit/asteval/releases/tag/1.0.9