Search
Find a vulnerability
Search criteria
2 vulnerabilities by Infinitode
CVE-2026-133467 (GCVE-0-2026-133467)
Vulnerability from nvd – Published: 2026-11-25 19:21 – Updated: 2026-11-25 19:21
VLAI
EPSS
VEX
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.
Severity
9.8 (Critical)
CWE
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://github.com/Infinitode/CodeSafe/security/a… | x_refsource_CONFIRM |
| https://github.com/Infinitode/CodeSafe/commit/27f… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Infinitode | CodeSafe |
Affected:
>= 0.0.1, < 0.0.5
|
{
"containers": {
"cna": {
"affected": [
{
"product": "CodeSafe",
"vendor": "Infinitode",
"versions": [
{
"status": "affected",
"version": "\u003e= 0.0.1, \u003c 0.0.5"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "CodeSafe is an open-source Python library for code encryption, decryption, and safe evaluation using Python\u0027s 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\u0027exec\u0027, 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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-95",
"description": "CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-693",
"description": "CWE-693: Protection Mechanism Failure",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T19:21:24.817Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-7gp8-3j6q-v4h8",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-7gp8-3j6q-v4h8"
},
{
"name": "https://github.com/Infinitode/CodeSafe/commit/27f19e220432c9d83f1c463f382d2807b31fe6fd#diff-5e1c6bb51538bc170a88f3fb84b50c7df79ad57a1780a2a5b67450503e96c173",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/Infinitode/CodeSafe/commit/27f19e220432c9d83f1c463f382d2807b31fe6fd#diff-5e1c6bb51538bc170a88f3fb84b50c7df79ad57a1780a2a5b67450503e96c173"
}
],
"source": {
"advisory": "GHSA-7gp8-3j6q-v4h8",
"discovery": "UNKNOWN"
},
"title": "CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-133467",
"datePublished": "2026-11-25T19:21:24.817Z",
"dateReserved": "2026-11-19T20:59:23.973Z",
"dateUpdated": "2026-11-25T19:21:24.817Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133467 (GCVE-0-2026-133467)
Vulnerability from cvelistv5 – Published: 2026-11-25 19:21 – Updated: 2026-11-25 19:21
VLAI
EPSS
VEX
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.
Severity
9.8 (Critical)
CWE
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://github.com/Infinitode/CodeSafe/security/a… | x_refsource_CONFIRM |
| https://github.com/Infinitode/CodeSafe/commit/27f… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Infinitode | CodeSafe |
Affected:
>= 0.0.1, < 0.0.5
|
{
"containers": {
"cna": {
"affected": [
{
"product": "CodeSafe",
"vendor": "Infinitode",
"versions": [
{
"status": "affected",
"version": "\u003e= 0.0.1, \u003c 0.0.5"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "CodeSafe is an open-source Python library for code encryption, decryption, and safe evaluation using Python\u0027s 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\u0027exec\u0027, 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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-95",
"description": "CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-693",
"description": "CWE-693: Protection Mechanism Failure",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T19:21:24.817Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-7gp8-3j6q-v4h8",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/Infinitode/CodeSafe/security/advisories/GHSA-7gp8-3j6q-v4h8"
},
{
"name": "https://github.com/Infinitode/CodeSafe/commit/27f19e220432c9d83f1c463f382d2807b31fe6fd#diff-5e1c6bb51538bc170a88f3fb84b50c7df79ad57a1780a2a5b67450503e96c173",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/Infinitode/CodeSafe/commit/27f19e220432c9d83f1c463f382d2807b31fe6fd#diff-5e1c6bb51538bc170a88f3fb84b50c7df79ad57a1780a2a5b67450503e96c173"
}
],
"source": {
"advisory": "GHSA-7gp8-3j6q-v4h8",
"discovery": "UNKNOWN"
},
"title": "CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-133467",
"datePublished": "2026-11-25T19:21:24.817Z",
"dateReserved": "2026-11-19T20:59:23.973Z",
"dateUpdated": "2026-11-25T19:21:24.817Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}