sadrobot

← Back to the monthly list

CVE-2026-133467 Infinitode · CodeSafe

9.8 Critical

AI summary

In the Infinitode CodeSafe Python library versions 0.0.1 through 0.0.4, safe_eval() can be bypassed via indirect calls, letting anyone who controls the evaluated expression run arbitrary Python code with the host application's permissions. Critical (CVSS 9.8); upgrade to 0.0.5 promptly.

Official 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.

Published
2026-11-25 20:18 UTC
Modified
2026-11-25 20:18 UTC
CVSS
9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ENISA EUVD
EUVD-2026-135750
CWE
CWE-95

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high

References