CVE-2026-133467
CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call
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.
INFO
Published Date :
Nov. 25, 2026, 7:21 p.m.
Last Modified :
Nov. 25, 2026, 7:21 p.m.
Remotely Exploit :
Yes !
Source :
GitHub_M
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | MITRE-CVE |
Solution
- Update CodeSafe library to version 0.0.5 or later.
- Review and validate all inputs to safe_eval().
- Implement stricter input validation for AST parsing.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-133467 vulnerability anywhere in the article.