Vulnerability · Published Mar 13, 2026 · Assigned by GitHub_M
CVE-2026-32640(SimpleEval) Objects (including modules) can leak dangerous modules through to direct access inside the sandbox.
High 7.5
In plain English
A high-severity code injection in simpleeval from danthedeckie. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | simpleeval | 0.9.12-1+deb12u1 | DEBIAN-CVE-2026-32640 |
| Debian:13 | simpleeval | 1.0.3-1+deb13u1 | DEBIAN-CVE-2026-32640 |
| Debian:14 | simpleeval | 1.0.7-1 | DEBIAN-CVE-2026-32640 |
| PyPI | simpleeval | 1.0.5 | GHSA-44vg-5wv2-h2hg |
| PyPI | simpleeval | 1.0.5 | PYSEC-2026-132 |
| Ubuntu:24.04:LTS | simpleeval | 0.9.12-1+deb12u1build0.24.04.1 | UBUNTU-CVE-2026-32640 |
| Ubuntu:25.10 | simpleeval | 1.0.3-1+deb13u1build0.25.10.1 | UBUNTU-CVE-2026-32640 |
| Ubuntu:26.04:LTS | simpleeval | 1.0.3-1+deb13u1build0.26.04.1 | UBUNTU-CVE-2026-32640 |
| Ubuntu:26.10 | simpleeval | no fix listed | UBUNTU-CVE-2026-32640 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| danthedeckie | simpleeval | < 1.0.5 |
Weakness: CWE-915, CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/danthedeckie/simpleeval/security/advisories/GHSA-44vg-5wv2-h2hg x_refsource_CONFIRM
- https://lists.debian.org/debian-lts-announce/2026/04/msg00023.html
- https://access.redhat.com/security/cve/CVE-2026-32640 vdb-entry, x_refsource_REDHAT
- RHBZ#2447529 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32640.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:10184 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:37275 vendor-advisory, x_refsource_REDHAT