Skip to main content

EUVDEUVD-2026-12142

| CVE-2026-32640 HIGH
Code Injection (CWE-94)
2026-03-13 https://github.com/danthedeckie/simpleeval GHSA-44vg-5wv2-h2hg
8.7
CVSS 4.0 · Vendor: https://github.com/danthedeckie/simpleeval
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Pass module object with dangerous attributes to SimpleEval
  2. Exploit
    Access os/sys through attribute chains
  3. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 13, 2026

Code injection in SimpleEval when objects with dangerous attrs are passed. PoC available.

Earlier versions of this analysis (1)
v1 Mar 13, 2026 - 21:01 CVSS 9.8

Code injection in SimpleEval.

RemediationAI

Update.

Affected VersionsENISA

simpleeval < 1.0.5

Affected Packages

pypi simpleeval fix: 1.0.5

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

Vendor (https://github.com/danthedeckie/simpleeval) PRIMARY 8.7 HIGH
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
SUSE 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.5 HIGH

Primary rating from Vendor (https://github.com/danthedeckie/simpleeval).

CVSS VectorVendor: https://github.com/danthedeckie/simpleeval

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Severity Changed
Apr 21, 2026 - 16:22 NVD
CRITICAL HIGH
CVSS changed
Apr 21, 2026 - 16:22 NVD
9.8 (CRITICAL) 8.7 (HIGH)
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
PoC Detected
Mar 18, 2026 - 18:26 vuln.today
Public exploit code
CVE Published
Mar 13, 2026 - 20:56 nvd
CRITICAL 9.8

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 5 pypi packages depend on simpleeval (1 direct, 4 indirect)

Ecosystem-wide dependent count for version 1.0.5.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 85% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy