cve.bz

CVE-2026-32640 danthedeckie simpleeval: Code Injection

8.7 highEPSS 0.6%Fix available

High (8.7) in danthedeckie simpleeval. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in simpleeval 1.0.5.

On this page
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.

Severity

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
EPSS
0.6% (unchanged from 0.6% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-03-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
OWASP Top 10
A05:2025 Injection, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-32640 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-32640?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-32640?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-32640 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
danthedeckie:simpleevalbefore 1.0.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-44vg-5wv2-h2hgPyPIsimpleeval<1.0.51.0.5
PYSEC-2026-132PyPIsimpleeval<1.0.51.0.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11simpleeval0.9.10-1+deb11u1DLA-4543-1
Debian12simpleeval0.9.12-1+deb12u1DEBIAN-CVE-2026-32640 DSA-6220-1
Debian13simpleeval1.0.3-1+deb13u1DEBIAN-CVE-2026-32640 DSA-6220-1
Debian14simpleeval1.0.7-1DEBIAN-CVE-2026-32640
Ubuntu24.04:LTSsimpleeval0.9.12-1+deb12u1build0.24.04.1UBUNTU-CVE-2026-32640
Ubuntu25.10simpleeval1.0.3-1+deb13u1build0.25.10.1UBUNTU-CVE-2026-32640
Ubuntu26.04:LTSsimpleeval1.0.3-1+deb13u1build0.26.04.1UBUNTU-CVE-2026-32640
Ubuntu26.10simpleevalno fix listedUBUNTU-CVE-2026-32640
UbuntuPro:16.04:LTSsimpleeval0.8.7-1ubuntu0.1~esm1UBUNTU-CVE-2026-32640
UbuntuPro:18.04:LTSsimpleeval0.9.5-1ubuntu0.1~esm1UBUNTU-CVE-2026-32640
UbuntuPro:20.04:LTSsimpleeval0.9.10-1+deb11u1build0.20.04.1UBUNTU-CVE-2026-32640
UbuntuPro:22.04:LTSsimpleeval0.9.11-1ubuntu0.1~esm1UBUNTU-CVE-2026-32640
openSUSELeap 16.0python-simpleeval0.9.13-bp160.2.1openSUSE-SU-2026:20393-1
openSUSETumbleweedpython-simpleeval1.0.5-1.1openSUSE-SU-2026:10373-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat OpenShift AI 2.25rhoai/odh-training-cuda121-torch24-py311-rhel9:1776243258Fixed 2026-04-23RHSA-2026:10184
Red Hat OpenShift AI 2.25rhoai/odh-training-cuda124-torch25-py311-rhel9:1776243287Fixed 2026-04-23RHSA-2026:10184
Red Hat OpenShift AI 2.25rhoai/odh-training-rocm62-torch24-py311-rhel9:1776272258Fixed 2026-04-23RHSA-2026:10184
Red Hat OpenShift AI 2.25rhoai/odh-training-rocm62-torch25-py311-rhel9:1776272253Fixed 2026-04-23RHSA-2026:10184
Red Hat OpenShift AI 3.3rhoai/odh-trustyai-nemo-guardrails-server-rhel9:1782471606Fixed 2026-07-09RHSA-2026:37275
Red Hat OpenShift AI (RHOAI)rhoai/odh-training-cuda128-torch28-py312-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-training-cuda128-torch29-py312-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-training-rocm64-torch28-py312-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-training-rocm64-torch29-py312-rhel9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-32640.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON