CVE-2026-133467
published critical CVSS 3.1 · 9.8CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Infinitode | — | CodeSafe>= 0.0.1, < 0.0.5 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Infinitode | CodeSafe | >= 0.0.1, < 0.0.5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-95 CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code
- CWE-693 CWE-693: Protection Mechanism Failure
References
2Provider assertions
2GitHub_M · cna
CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 91a601ec745c19265f6729c382c57453288ac1c24a286a4c87b888b9198c8785
- Ingested
- 30 Nov 2026, 20:01:02 UTC
- Source record
- Official CVE record