← VULNERABILITIES

CVE-2026-133467

CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call

Critical · 9.8
CVSS
9.8
EPSS
0.42% (p28)
Published
2026-11-25
Age
3d old
Modified
2026-11-25
Product
Infinitode CodeSafe

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Sources

  • NVD · first seen 3d ago · NVD terms of use
  • CVE List · first seen 3d ago · CVE Terms of Use

References

JSON