EventsSecuring Finance in the Age of AI · Secure.com X ZIG Finance · London, 12 NovRegister now

CVE-2026-133467

CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call

9.8 CRITICALEPSS 0.41%Not in KEVNVD: Received

Overview

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.

Severity

ScoreSeverityVersionTechnologies Affected
9.8CRITICAL3.1GitHub_M (CNA)Infinitode CodeSafe

Details

CVE ID
CVE-2026-133467
Status
Received
Assigner (CNA)
GitHub_M
Published
Nov 25, 2026
Last modified
Nov 30, 2026, 8:17 PM UTC
Weaknesses
  • CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code
  • CWE-693 · Protection Mechanism Failure

Affected Products

As published by the CNA in the CVE record.

InfinitodeCodeSafe1 version range
  • >= 0.0.1, < 0.0.5

References