CVE-2026-32640
simpleeval: SimpleEval: Arbitrary code execution via sandbox escape due to improper object handling
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), Red Hat (high), Ubuntu (medium).
Description
SimpleEval is a library for adding evaluatable expressions into python projects. Prior to 1.0.5, objects (including modules) can leak dangerous modules through to direct access inside the sandbox. If the objects you've passed in as names to SimpleEval have modules or other disallowed / dangerous objects available as attrs. Additionally, dangerous functions or modules could be accessed by passing them as callbacks to other safe functions to call. The latest version 1.0.5 has this issue fixed. This vulnerability is fixed in 1.0.5.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | simpleeval | 0.9.10-1+deb11u1 |
| debian 12 | simpleeval | 0.9.12-1+deb12u1 |
| debian 13 | simpleeval | 1.0.3-1+deb13u1 |
| debian 14 | simpleeval | 1.0.7-1 |
| echo | simpleeval | 0.9.12-1+deb12u1 |
| pip::GitHub Security Advisory pip | simpleeval | 1.0.5 |
| rapidfort debian 12 | simpleeval | 0:1.0.3-1+deb13u1, 0:1.0.7-1 |
| rapidfort debian 13 | simpleeval | 0:1.0.3-1+deb13u1, 0:1.0.7-1 |
| ubuntu 18.04-ESM | simpleeval | 0.9.5-1ubuntu0.1~esm1 |
| ubuntu 20.04-ESM | simpleeval | 0.9.10-1+deb11u1build0.20.04.1 |
| ubuntu 22.04 | simpleeval | no fix listed |
| ubuntu 24.04 | simpleeval | 0.9.12-1+deb12u1build0.24.04.1 |
Show all 15 entries from 15 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | simpleeval | 0.9.10-1+deb11u1 |
| debian 12 | simpleeval | 0.9.12-1+deb12u1 |
| debian 13 | simpleeval | 1.0.3-1+deb13u1 |
| debian 14 | simpleeval | 1.0.7-1 |
| echo | simpleeval | 0.9.12-1+deb12u1 |
| pip::GitHub Security Advisory pip | simpleeval | 1.0.5 |
| rapidfort debian 12 | simpleeval | 0:1.0.3-1+deb13u1, 0:1.0.7-1 |
| rapidfort debian 13 | simpleeval | 0:1.0.3-1+deb13u1, 0:1.0.7-1 |
| ubuntu 18.04-ESM | simpleeval | 0.9.5-1ubuntu0.1~esm1 |
| ubuntu 20.04-ESM | simpleeval | 0.9.10-1+deb11u1build0.20.04.1 |
| ubuntu 22.04 | simpleeval | no fix listed |
| ubuntu 24.04 | simpleeval | 0.9.12-1+deb12u1build0.24.04.1 |
| ubuntu 25.10 | simpleeval | 1.0.3-1+deb13u1build0.25.10.1 |
| ubuntu 26.04 | simpleeval | 1.0.3-1+deb13u1build0.26.04.1 |
| ubuntu 26.10 | simpleeval | no fix listed |
References
- https://access.redhat.com/errata/RHSA-2026:10184
- https://access.redhat.com/errata/RHSA-2026:37275
- https://access.redhat.com/security/cve/CVE-2026-32640
- https://bugzilla.redhat.com/show_bug.cgi?id=2447529
- https://github.com/danthedeckie/simpleeval
- https://github.com/danthedeckie/simpleeval/releases/tag/1.0.5
- https://github.com/danthedeckie/simpleeval/security/advisories/GHSA-44vg-5wv2-h2hg
- https://github.com/pypa/advisory-database/tree/main/vulns/simpleeval/PYSEC-2026-132.yaml