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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-693",
"CWE-95"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133467.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0.0.1"
},
{
"fixed": "0.0.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "27f19e220432c9d83f1c463f382d2807b31fe6fd"
}
],
"source": "REFERENCES_COMMIT"
}
]
}