{"id":"CVE-2026-32640","published":"2026-03-13T21:03:53Z","modified":"2026-07-15T01:07:52Z","title":"(SimpleEval) Objects (including modules) can leak dangerous modules through to direct access inside the sandbox.","vendor":"danthedeckie","product":"simpleeval","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00591,"percentile":0.49177,"provenance":"source"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/danthedeckie/simpleeval/security/advisories/GHSA-44vg-5wv2-h2hg","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2026/04/msg00023.html","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-32640","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2447529","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32640.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:10184","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:37275","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":9.84},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"danthedeckie","affectedVersions":[{"vendor":"danthedeckie","product":"simpleeval","versions":["< 1.0.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-16T16:48:15.526192Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"simpleeval","vulnerableRanges":["<1.0.5"],"patched":["1.0.5"],"from":["GHSA-44vg-5wv2-h2hg","PYSEC-2026-132"],"provenance":"source"}],"summary":{"text":"SimpleEval, a Python library for evaluating expressions in a sandbox, has a flaw in versions before 1.0.5 where objects, including modules, can expose dangerous modules or objects through their attributes or when passed as callbacks to safe functions. An attacker who can supply expressions for evaluation, with no authentication or user interaction required over the network, can reach and use those dangerous objects, provided the host application passes objects containing such attributes into SimpleEval as names.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:12Z"},"euvd":{"id":"EUVD-2026-12142","exploited":false,"provenance":"source"}}