Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPass module object with dangerous attributes to SimpleEval
-
ExploitAccess os/sys through attribute chains
-
ImpactExecute arbitrary code via eval
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | SimpleEval versions prior to 1.0.5 with unsafe module objects (os, sys, numpy, pathlib, shutil, glob, statistics, urllib.parse) passed as 'names' parameter or available as callbacks to safe functions. |
| Impact | CVSS 9.8. |
| Exploit ScenarioDerived | Inject code through object attributes. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 13, 2026
Code injection in SimpleEval when objects with dangerous attrs are passed. PoC available.
Earlier versions of this analysis (1)
Code injection in SimpleEval.
RemediationAI
Update.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-94.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (https://github.com/danthedeckie/simpleeval).
CVSS VectorVendor: https://github.com/danthedeckie/simpleeval
Lifecycle Timeline
5DescriptionCVE.org
Impact
If the objects passed in as names to SimpleEval have modules or other disallowed / dangerous objects available as attrs. Additionally, dangerous functions or modules could be accessed by passing them as callbacks to other safe functions to call.
Examples (found by @ByamB4):
Any module where non-underscore attribute chains reach os or sys:
- os.path, pathlib, shutil, glob (direct .os / .sys attributes)
- statistics (has .sys)
- numpy (has .ctypeslib.os and .f2py.sys)
- urllib.parse (has .warnings.sys)
Patches
The latest version 1.0.5 has this issue fixed.
Workarounds
Don't pass in objects or modules which have direct attributes to potentially dangerous items. Use a wrapper to wrap the potentially vulnerable items (See the ModuleWrapper in version 1.0.5)
Blast Radius
ecosystem impact- 5 pypi packages depend on simpleeval (1 direct, 4 indirect)
Ecosystem-wide dependent count for version 1.0.5.
Executive ViewAI
SimpleEval versions prior to 1.0.5 contain a high-severity vulnerability (CVSS 8.7) that allows attackers to bypass safety restrictions and access dangerous system modules like os and sys through attribute chain manipulation. This affects any application using SimpleEval to evaluate untrusted expressions, potentially enabling unauthorized system access, data exfiltration, or code execution.
If upgrade to version 1.0.5 is unavailable: (1) Implement strict input validation and allowlisting for expressions evaluated by SimpleEval; (2) Wrap all passed objects and modules with a ModuleWrapper implementation to restrict attribute access (reference version 1.0.5 source); (3) Disable SimpleEval-based expression evaluation features if not business-critical; (4) Isolate systems running SimpleEval from sensitive resources using network segmentation and principle of least privilege; (5) Monitor for suspicious attribute access patterns in application logs.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Same weakness CWE-94 – Code Injection
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Package Hub 15 SP6 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
| SUSE Package Hub 15 SP6 | Fixed |
EUVD-2026-12142
GHSA-44vg-5wv2-h2hg
NVD
CVE.org
EPSS
VulDB
Exploit-DB