Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/Infinitode/CodeSafe/commit/27f19e220432c9d83f1c463f382d2807b3
- https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-7gp8-3j6q-v4h8
FAQ
What is CVE-2026-133467?
CVE-2026-133467 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 wi...
How severe is CVE-2026-133467?
CVE-2026-133467 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-133467?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.