simpleeval is vulnerable to Sandbox Bypass
42
Medium Risk
simpleeval's disallowed-function check inspects lists and tuples passed into an evaluated expression but skips set and frozenset members. An expression that hides a blocked function such as os.system inside a set literal or built-in reaches _check_disallowed_items without triggering the block. Evaluators that expose set-typed values to untrusted expressions can therefore smuggle a disallowed function past the sandbox. The fix extends the disallowed-items scan to cover set and frozenset containers.
You are affected if you are using a version that falls within the vulnerable range and you allow evaluated expressions to construct or receive set or frozenset values.
simpleeval is vulnerable to Sandbox Bypass in versions 0.0.1 - 1.0.7.
Upgrade the simpleeval library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.