P2 · HighCVSS 9.8EPSS 0.4%
CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call
- CVE-2026-133467
- EUVD-2026-135750
Description
CodeSafe is an open-source Python library for code encryption, decryption, and safe evaluation using Python's AST module. From versions 0.0.1 through 0.0.4, the safe_eval() function can be bypassed with indirect subscript calls such as builtins'exec', because AST validation blocks only direct calls to dangerous built-ins. An attacker who controls an expression passed to safe_eval() can execute arbitrary Python code with the permissions of the host application. This issue is fixed in version 0.0.5.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Infinitode CodeSafe
Affected versions Fixed in >= 0.0.1, < 0.0.5 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.