Intel

AIKIDO-2026-166664

simpleeval is vulnerable to Sandbox Bypass

Sandbox BypassGHSA-r2q2-xmpm-7fvh Published Yesterday

31

Low Risk

This Affects:

PYTHONsimpleeval
0.0.1 - 1.0.7
Fixed in 1.0.8
Are you affected? Scan for Free

TL;DR

simpleeval blocks os.popen and os.system but not the os module's other exec, spawn, and posix_spawn family functions. An evaluator that wraps the os module without narrowing allowed_attrs lets an expression invoke one of those unblocked functions to run an external process. The fix adds every os function whose name starts with exec, spawn, or posix_spawn to the disallowed-functions set.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you wrap the os module with ModuleWrapper without restricting allowed_attrs.

Background info

simpleeval is vulnerable to Sandbox Bypass in versions 0.0.1 - 1.0.7.

How to fix this

Upgrade the simpleeval library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform