{"id":"CVE-2026-133467","aliases":[],"title":"CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call","originalDescription":"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.","severity":{"cvss":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","label":"critical"},"exploitation":{"kev":null,"epss":{"score":0.00418,"percentile":0.27801},"exploitDb":null},"affected":[],"references":[{"url":"https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-7gp8-3j6q-v4h8","type":"x_refsource_CONFIRM"},{"url":"https://github.com/Infinitode/CodeSafe/commit/27f19e220432c9d83f1c463f382d2807b31fe6fd#diff-5e1c6bb51538bc170a88f3fb84b50c7df79ad57a1780a2a5b67450503e96c173","type":"x_refsource_MISC"}],"sources":[{"name":"nvd","at":"2026-11-25T20:25:28.873Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133467","license":"NVD terms of use","firstSeenAt":"2026-11-25T20:25:28.873Z"},{"name":"cvelistV5","at":"2026-11-28T22:07:53.508Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-133467","license":"CVE Terms of Use","firstSeenAt":"2026-11-25T19:49:56.035Z"}],"firstSeenAt":"2026-11-25T19:49:56.035Z","publishedAt":"2026-11-25T19:21:24.817Z","modifiedAt":"2026-11-25T20:18:34.460Z"}