NetSight
kritisch9.8

CVE-2026-133467

CodeSafe is an open-source Python library for code encryption, decryption, and safe evaluation using Python's AST module.

Auswirkung

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.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.

Betroffene Produkte (Infinitode)

ProduktBetroffene Versionen
CodeSafe
ab 0.0.1, vor 0.0.5

Schwachstellenklasse

Referenzen