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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 54.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12simpleeval0.9.12-1+deb12u1DEBIAN-CVE-2026-32640
Debian:13simpleeval1.0.3-1+deb13u1DEBIAN-CVE-2026-32640
Debian:14simpleeval1.0.7-1DEBIAN-CVE-2026-32640
PyPIsimpleeval1.0.5GHSA-44vg-5wv2-h2hg
PyPIsimpleeval1.0.5PYSEC-2026-132
Ubuntu:24.04:LTSsimpleeval0.9.12-1+deb12u1build0.24.04.1UBUNTU-CVE-2026-32640
Ubuntu:25.10simpleeval1.0.3-1+deb13u1build0.25.10.1UBUNTU-CVE-2026-32640
Ubuntu:26.04:LTSsimpleeval1.0.3-1+deb13u1build0.26.04.1UBUNTU-CVE-2026-32640
Ubuntu:26.10simpleevalno fix listedUBUNTU-CVE-2026-32640

Affected products (as reported)

VendorProductVersions
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