What’s Vulnerable › Vulnerabilities

CVE-2026-32640: (SimpleEval) Objects (including modules) can leak dangerous modules through to direct access inside the sandbox.

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 products

How to fix

Upgrade to a fixed version: danthedeckie simpleeval 1.0.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-32640 or the next vulnerability affects your stack