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.
Published: 2026-11-25
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No solution or workaround provided in the CVE record.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Dec 2026 05:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sun, 29 Nov 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Infinitode
Infinitode codesafe
Vendors & Products Infinitode
Infinitode codesafe

Wed, 25 Nov 2026 22:00:00 +0000

Type Values Removed Values Added
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.
Title CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call
Weaknesses CWE-693
CWE-95
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Infinitode Codesafe
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-30T19:54:14.809Z

Reserved: 2026-11-19T20:59:23.973Z

Link: CVE-2026-133467

cve-icon Vulnrichment

Updated: 2026-11-30T19:54:05.394Z

cve-icon NVD

Status : Received

Published: 2026-11-25T20:18:34.460

Modified: 2026-11-30T20:17:46.840

Link: CVE-2026-133467

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-29T22:29:27Z

Weaknesses