EXPOSURES › CVE-2026-32640
CVE-2026-32640
CRITICALCVE-2026-32640 in SimpleEval allows sandbox escape via module leakage before version 1.0.5.
SimpleEval, a Python library for evaluating expressions, suffered a critical vulnerability where dangerous modules could leak into the sandbox, enabling arbitrary code execution. DIB organizations must ensure no unpatched versions of SimpleEval are used in their supply chain or development environments to prevent RCE and maintain compliance with NIST 800-171 controls regarding software integrity.
Shame score — A critical CVSS 9.8 vulnerability existed for years before version 1.0.5 fixed it, representing a negligent failure to patch a known, exploitable flaw in a widely used Python utility.
▸ RECOMMENDED ACTION Remote code execution — patch the affected products on priority.
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.