CVE-2026-133467
CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call
CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-95 CWE-693 |
| Vendor | infinitode |
| Product | codesafe |
| Published | Nov 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for infinitode codesafe
Be the first to know when new critical vulnerabilities affecting infinitode codesafe are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
Infinitode / CodeSafe
>= 0.0.1, < 0.0.5