# CVE-2026-133467: CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-11-25T19:21:24.817Z
- Modified: 2026-11-30T20:17:46.840Z
- Weaknesses: CWE-95, CWE-693
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Infinitode CodeSafe: >= 0.0.1, < 0.0.5

## References

- <https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-7gp8-3j6q-v4h8>
- <https://github.com/Infinitode/CodeSafe/commit/27f19e220432c9d83f1c463f382d2807b31fe6fd#diff-5e1c6bb51538bc170a88f3fb84b50c7df79ad57a1780a2a5b67450503e96c173>

## Sources

- CVE List: [CVE-2026-133467](https://www.cve.org/CVERecord?id=CVE-2026-133467), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-133467](https://nvd.nist.gov/vuln/detail/CVE-2026-133467), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-133467 · Whole record: https://cve.day/CVE-2026-133467.json · Rebuilt by cve.day 2026-11-30T20:32:15.668Z
