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
VendorProductAffected 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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker full control (estimated)
Severity
9.8 Critical
Exploitation
<1% chance of attack within 30 days
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 · MITRE
Track software like this
Free during beta