Vulnerabilities in pkg:pypi/superduper-framework
PACKAGECVE-2026-31225 is a HIGH (CVSS 8.8) remote code execution vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Superduper libraries in the PyPI ecosystem. The issue involves remote code execution via unsafe eval in superduper query parsing. Remediation is available in the latest vendor maintenance releases.
pkg:pypi/superduper-framework
Vulnerability advisories affecting package pkg:pypi/superduper-framework. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2799-6g5r-mmc7 | CVE-2026-31225 | HIGH | Superduper: Remote code execution via unsafe eval in superduper query parsing |
CVE-2026-31225 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-31225
To remediate this vulnerability, upgrade all affected Superduper dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install superduper-framework>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show superduper-framework
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-31225, inspect your installed packages using pip:
pip show superduper-framework
Analyze the terminal output to locate any version of Superduper in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show superduper-framework command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Superduper, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-31225 Affected Superduper Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
superduper-framework
|
PyPI |
≤ 0.10.0
|
|
References
Frequently Asked Questions
What is CVE-2026-31225?
Which Superduper versions are affected?
What version fixes CVE-2026-31225?
Is superduper-framework affected?
What is the CVSS score of CVE-2026-31225?
What CWE is associated with CVE-2026-31225?
How can I check PyPI dependencies for CVE-2026-31225?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2799-6g5r-mmc7",
"modified" : "2026-05-18T20:26:43Z",
"published" : "2026-05-12T18:30:38Z",
"aliases" : [ "CVE-2026-31225" ],
"summary" : "Superduper: Remote code execution via unsafe eval in superduper query parsing",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "superduper-framework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.10.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-31225"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/superduper-io/superduper"
}, {
"type" : "WEB",
"url" : "https://www.notion.so/CVE-2026-31225-35d1e1393188814f99b5eec7b6517190"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-18T20:26:43Z",
"nvd_published_at" : "2026-05-12T16:16:14Z"
}
}