Loading advisory.
Loading advisory.
CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call
CodeSafe is an open-source Python library for code encryption, decryption, and safe evaluation using Python's AST module.
Published 2026-11-25 19:21 UTC · Modified 2026-11-30 19:54 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
This record has no structured affected-version data, so Helm lists no versions and no upgrade command.
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.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.004 on 2026-11-26.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-26 | 0.004 | n/a | v2026.06.15 |