CVE-2026-32640
Critical · CVSS 9.8SimpleEval — Sandbox Escape / Code Injection via unsafe attribute access and callback abuse (CWE-94, CWE-915)
- CVSS
- 9.8
- nvd
- EPSS
- 0.51%
- 40th pct
- KEV
- No
- Class
- oss containerizable
- CWE-94, CWE-915, CWE-915
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.
Search profile — drives PoC discovery
Symbols SimpleEvalEvalWithCompoundTypessimple_evalnamesDISALLOW_PREFIXESDISALLOW_PREFIXESattrsnodesastEvalExceptionFeatureNotAvailable_evals.namess.nodesfunctionsoperatorsATTR_INDEX_FALLBACK
Keywords CVE-2026-32640simpleeval sandbox escapesimpleeval code injectionsimpleeval module leaksimpleeval dangerous attrssimpleeval 1.0.5GHSA-44vg-5wv2-h2hgsimpleeval names modules bypasssimpleeval callback abusedanthedeckie simpleeval
Versions: < 1.0.5
Affected packages
| PyPI | simpleeval | 0 → 1.0.5 |
References
- https://github.com/danthedeckie/simpleeval/security/advisories/GHSA-44vg-5wv2-h2hg
- https://lists.debian.org/debian-lts-announce/2026/04/msg00023.html
- 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://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32640.json
Status: enriched · ingested 2026-06-30T06:00:22.000Z · profiled 2026-07-01T06:30:14.000Z