CVE-2026-32640(SimpleEval) Objects (including modules) can leak dangerous modules through to direct…
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.
What to do
Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | simpleeval | Fix pending | UBUNTU-CVE-2026-32640 | |
| Ubuntu 26.04 | simpleeval | Fixed | 1.0.3-1+deb13u1build0.26.04.1 | UBUNTU-CVE-2026-32640 |
| Ubuntu 25.10 | simpleeval | Fixed | 1.0.3-1+deb13u1build0.25.10.1 | UBUNTU-CVE-2026-32640 |
| Ubuntu 24.04 | simpleeval | Fixed | 0.9.12-1+deb12u1build0.24.04.1 | UBUNTU-CVE-2026-32640 |
| Ubuntu 22.04 | simpleeval | Fix pending | 0.9.11-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-32640 |
| Ubuntu 20.04 | simpleeval | Fix pending | 0.9.10-1+deb11u1build0.20.04.1 (Ubuntu Pro) | UBUNTU-CVE-2026-32640 |
| Ubuntu 18.04 | simpleeval | Fix pending | 0.9.5-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-32640 |
| Ubuntu 16.04 | simpleeval | Fix pending | 0.8.7-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-32640 |
| Debian 14 | simpleeval | Fixed | 1.0.7-1 | DEBIAN-CVE-2026-32640 |
| Debian 13 | simpleeval | Fixed | 1.0.3-1+deb13u1 | DEBIAN-CVE-2026-32640 |
| Debian 12 | simpleeval | Fixed | 0.9.12-1+deb12u1 | DEBIAN-CVE-2026-32640 |
| PyPI library | simpleeval | Fixed | 1.0.5 | PYSEC-2026-132 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- danthedeckie simpleeval: affected: < 1.0.5
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.