Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2026-133467: CodeSafe safe_eval lets attacker run code
CVE-2026-133467 · published 3 days ago
Summary
Versions 0.0.1 through 0.0.4 of the CodeSafe library allow specially crafted input to bypass its safety checks and run any Python commands. This can let an attacker execute code with the same rights as your application. Upgrade to version 0.0.5 or later to stop the problem.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| infinitode | codesafe | >= 0.0.1, < 0.0.5 |
Original advisory text
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. 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.
References
- https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-7gp8-3j6q-v4h8 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-1334... Vendor Advisory
- https://github.com/Infinitode/CodeSafe/commit/27f19e220432c9d83f1c463f382d2807b3... Patch
- https://nvd.nist.gov/vuln/detail/CVE-2026-133467 Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Type
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
CWE-693Protection Mechanism Failure
Timeline
Published25 Nov 2026
Updated27 Nov 2026
First seen25 Nov 2026
Sources
CVE-2026-133467 · NVD
CVE-2026-133467 · MITRE
CVE-2026-133467 · OSV
GHSA-7gp8-3j6q-v4h8 · GHSA
Track software like this
Free during beta