CVE-2026-32640
(SimpleEval) Objects (including modules) can leak dangerous modules through to direct access inside the sandbox.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
8.7
(SimpleEval) Objects (including modules) can leak dangerous modules through to direct access inside the sandbox.
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.
- Record
CVE-2026-32640- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-915, CWE-94, CWE-915
- Updated
- 2026-11-02
EUVDEUVD-2026-12142
8.7
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.
- Record
EUVD-2026-12142- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-44vg-5wv2-h2hg
8.7
SimpleEval: Objects (including modules) can leak dangerous modules through to direct access inside the sandbox
Impact
If the objects 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.
Examples (found by @ByamB4):
Any module where non-underscore attribute chains reach os or sys:
- os.path, pathlib, shutil, glob (direct .os / .sys attributes)
- statistics (has .sys)
- numpy (has .ctypeslib.os and .f2py.sys)
- urllib.parse (has .warnings.sys)
Patches
The latest version 1.0.5 has this issue fixed.
Workarounds
Don't pass in objects or modules which have direct attributes to potentially dangerous items. Use a wrapper to wrap the potentially vulnerable items (See the ModuleWrapper in version 1.0.5)
- Record
GHSA-44vg-5wv2-h2hg- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-94, CWE-915
- Updated
- 2026-11-02
NVD
8.7
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.
- Record
CVE-2026-32640- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-94, CWE-915
- Updated
- 2026-11-02
OSV
8.7
(SimpleEval) Objects (including modules) can leak dangerous modules through to direct access inside the sandbox.
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.
- Record
CVE-2026-32640- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-915, CWE-94
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-32640
9.8
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.
- Record
DEBIAN-CVE-2026-32640- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVGHSA-44vg-5wv2-h2hg
8.7
SimpleEval: Objects (including modules) can leak dangerous modules through to direct access inside the sandbox
Impact
If the objects 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.
Examples (found by @ByamB4):
Any module where non-underscore attribute chains reach os or sys:
- os.path, pathlib, shutil, glob (direct .os / .sys attributes)
- statistics (has .sys)
- numpy (has .ctypeslib.os and .f2py.sys)
- urllib.parse (has .warnings.sys)
Patches
The latest version 1.0.5 has this issue fixed.
Workarounds
Don't pass in objects or modules which have direct attributes to potentially dangerous items. Use a wrapper to wrap the potentially vulnerable items (See the ModuleWrapper in version 1.0.5)
- Record
GHSA-44vg-5wv2-h2hg- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-915, CWE-94
- Updated
- 2026-11-02
OSVPYSEC-2026-132
9.8
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.
- Record
PYSEC-2026-132- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-32640
8.7
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.
- Record
UBUNTU-CVE-2026-32640- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2026:10373-1 No score
python311-simpleeval-1.0.5-1.1 on GA media
These are all security issues fixed in the python311-simpleeval-1.0.5-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:10373-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:20393-1 No score
Security update for python-simpleeval
This update for python-simpleeval fixes the following issues:
Changes in python-simpleeval:
- CVE-2026-32640: Objects (including modules) can leak dangerous modules through to direct access inside the sandbox (bsc#1259685)
- Record
openSUSE-SU-2026:20393-1- Updated
- 2026-11-02
OSVUSN-8301-1 No score
simpleeval vulnerability
Byambadalai Sumiya discovered that SimpleEval did not properly restrict attribute access and callback handling inside a sandbox. An attacker could possibly use this issue to execute arbitrary code.
- Record
USN-8301-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
simpleevalPyPI |
before 1.0.5 | 1.0.5 |
simpleevalDebian:12 |
before 0.9.12-1+deb12u1, plus listed versions 0.9.12-1 |
0.9.12-1+deb12u1 |
simpleevalDebian:13 |
before 1.0.3-1+deb13u1, plus listed versions 1.0.3-1 |
1.0.3-1+deb13u1 |
simpleevalDebian:14 |
before 1.0.7-1, plus listed versions 1.0.3-1 |
1.0.7-1 |
simpleevalPyPI |
before 1.0.5, plus listed versions 0.8.10.8.20.8.50.8.60.8.7 Show 18 moreShow less0.9.00.9.10.9.100.9.110.9.120.9.130.9.20.9.30.9.40.9.50.9.60.9.70.9.81.0.01.0.11.0.21.0.31.0.4 |
1.0.5 |
simpleevalUbuntu:Pro:16.04:LTS |
before 0.8.7-1ubuntu0.1~esm1, plus listed versions 0.8.5-10.8.7-1 |
0.8.7-1ubuntu0.1~esm1 |
simpleevalUbuntu:Pro:18.04:LTS |
before 0.9.5-1ubuntu0.1~esm1, plus listed versions 0.9.3-10.9.5-1 |
0.9.5-1ubuntu0.1~esm1 |
simpleevalUbuntu:Pro:20.04:LTS |
before 0.9.10-1+deb11u1build0.20.04.1, plus listed versions 0.9.6-10.9.6-20.9.10-0ubuntu10.9.10-1 |
0.9.10-1+deb11u1build0.20.04.1 |
simpleevalUbuntu:Pro:22.04:LTS |
before 0.9.11-1ubuntu0.1~esm1, plus listed versions 0.9.10-10.9.11-1 |
0.9.11-1ubuntu0.1~esm1 |
simpleevalUbuntu:24.04:LTS |
before 0.9.12-1+deb12u1build0.24.04.1, plus listed versions 0.9.12-1 |
0.9.12-1+deb12u1build0.24.04.1 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
simpleevalUbuntu:25.10 |
before 1.0.3-1+deb13u1build0.25.10.1, plus listed versions 1.0.3-1 |
1.0.3-1+deb13u1build0.25.10.1 |
simpleevalUbuntu:26.10 |
All versions, plus listed versions 1.0.3-1build11.0.7-1 |
None known |
simpleevalUbuntu:26.04:LTS |
before 1.0.3-1+deb13u1build0.26.04.1, plus listed versions 1.0.3-11.0.3-1build1 |
1.0.3-1+deb13u1build0.26.04.1 |
python-simpleevalopenSUSE:Tumbleweed |
before 1.0.5-1.1 | 1.0.5-1.1 |
python-simpleevalopenSUSE:Leap 16.0 |
before 0.9.13-bp160.2.1 | 0.9.13-bp160.2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-32640 is a high vulnerability (CVSS 8.7) in Danthedeckie Simpleeval, published March 13, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.59%, the 48th percentile. Fixed in simpleeval 1.0.5.
References
github.com/danthedeckie/simpleeval/security/advisories/GHSA-44vg-5wv2-h2hg
lists.debian.org/debian-lts-announce/2026/04/msg00023.html
access.redhat.com/security/cve/CVE-2026-32640
bugzilla.redhat.com/show_bug.cgi?id=2447529
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32640.json
access.redhat.com/errata/RHSA-2026:10184
Show 13 moreShow less
access.redhat.com/errata/RHSA-2026:37275
github.com/danthedeckie/simpleeval/releases/tag/1.0.5
nvd.nist.gov/vuln/detail/CVE-2026-32640
github.com/pypa/advisory-database/tree/main/vulns/simpleeval/PYSEC-2026-132.yaml
github.com/advisories/GHSA-44vg-5wv2-h2hg
github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32640.json
security-tracker.debian.org/tracker/CVE-2026-32640
github.com/danthedeckie/simpleeval
ubuntu.com/security/CVE-2026-32640
cve.org/CVERecord?id=CVE-2026-32640
ubuntu.com/security/notices/USN-8301-1
suse.com/security/cve/CVE-2026-32640
bugzilla.suse.com/1259685