CVE-2026-133467
9.8critical
CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call
- Severity
- 9.8critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Infinitode CodeSafe | >= 0.0.1, < 0.0.5 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-133467 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-133467 changed 2026-11-30 | Public domain |