Vulnerabilities / CVE-2026-32640

critical

CVE-2026-32640

simpleeval: SimpleEval: Arbitrary code execution via sandbox escape due to improper object handling

Published Modified CWE 94, 915
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), Red Hat (high), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 11simpleeval0.9.10-1+deb11u1
debian 12simpleeval0.9.12-1+deb12u1
debian 13simpleeval1.0.3-1+deb13u1
debian 14simpleeval1.0.7-1
echosimpleeval0.9.12-1+deb12u1
pip::GitHub Security Advisory pipsimpleeval1.0.5
rapidfort debian 12simpleeval0:1.0.3-1+deb13u1, 0:1.0.7-1
rapidfort debian 13simpleeval0:1.0.3-1+deb13u1, 0:1.0.7-1
ubuntu 18.04-ESMsimpleeval0.9.5-1ubuntu0.1~esm1
ubuntu 20.04-ESMsimpleeval0.9.10-1+deb11u1build0.20.04.1
ubuntu 22.04simpleevalno fix listed
ubuntu 24.04simpleeval0.9.12-1+deb12u1build0.24.04.1
Show all 15 entries from 15 sources
SourcePackageFixed in
debian 11simpleeval0.9.10-1+deb11u1
debian 12simpleeval0.9.12-1+deb12u1
debian 13simpleeval1.0.3-1+deb13u1
debian 14simpleeval1.0.7-1
echosimpleeval0.9.12-1+deb12u1
pip::GitHub Security Advisory pipsimpleeval1.0.5
rapidfort debian 12simpleeval0:1.0.3-1+deb13u1, 0:1.0.7-1
rapidfort debian 13simpleeval0:1.0.3-1+deb13u1, 0:1.0.7-1
ubuntu 18.04-ESMsimpleeval0.9.5-1ubuntu0.1~esm1
ubuntu 20.04-ESMsimpleeval0.9.10-1+deb11u1build0.20.04.1
ubuntu 22.04simpleevalno fix listed
ubuntu 24.04simpleeval0.9.12-1+deb12u1build0.24.04.1
ubuntu 25.10simpleeval1.0.3-1+deb13u1build0.25.10.1
ubuntu 26.04simpleeval1.0.3-1+deb13u1build0.26.04.1
ubuntu 26.10simpleevalno fix listed

References

All 13 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.