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

Published Updated

Attackers controlling expressions passed to CodeSafe's safe_eval can escape the sandbox via indirect subscript calls and run arbitrary Python.

CVSS score

Critical

9.8/10

CVSS 3.1 · Scored by GitHub Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
0.0.5
Attack path
Over the internet
No login, no user action

What is CVE-2026-133467?

CVE-2026-133467 is a critical code injection vulnerability in Infinitode CodeSafe, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-95, CWE-693

How severe is CVE-2026-133467?

CVE-2026-133467 scores 9.8 out of 10 under CVSS 3.1, which is critical severity. It was scored by GitHub.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Which versions are affected by CVE-2026-133467?

An affected version is only exploitable if your software calls safe_eval(). Many projects that include it are not exposed.

How do I fix CVE-2026-133467?

Upgrade Infinitode CodeSafe to 0.0.5 or later. The advisory says that version fixes it.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-133467 being exploited?

There is no known exploitation of CVE-2026-133467 in the wild and no public exploit code.

Sources

Also known as GHSA-7gp8-3j6q-v4h8.

Is CVE-2026-133467 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free