{"id":"CVE-2026-133467","aliases":["CVE-2026-133467"],"related":[],"kind":"vulnerability","state":"published","title":"CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-25T19:21:24.817Z","modified":"2026-11-30T20:17:46.840Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-95","CWE-693"],"affected":[{"ranges":[{"version":">= 0.0.1, < 0.0.5","status":"affected"}],"vendor":"Infinitode","product":"CodeSafe","source":"cvelist"}],"references":[{"url":"https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-7gp8-3j6q-v4h8","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Infinitode/CodeSafe/commit/27f19e220432c9d83f1c463f382d2807b31fe6fd#diff-5e1c6bb51538bc170a88f3fb84b50c7df79ad57a1780a2a5b67450503e96c173","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-11-30T19:53:55.658Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-133467","url":"https://www.cve.org/CVERecord?id=CVE-2026-133467","licence":"CVE Terms of Use","modified":"2026-11-30T19:54:14.809Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-133467","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133467","licence":"Public domain","modified":"2026-11-30T20:17:46.840Z"}],"updatedAt":"2026-11-30T20:32:15.668Z","epss":{"score":0.00418,"percentile":0.38066,"date":"2026-12-01T12:00:22.000Z"}}