CVE-2026-31225 Details
Description
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.
A critical remote code execution vulnerability has been identified in the superduper project, affecting versions through v0.10.0. The issue arises in the query parsing component, specifically within the _parse_op_part() function in query.py. This function improperly uses eval() to evaluate user-supplied query operands, lacking adequate sanitization or restrictions. While an attempt is made to limit the execution context by providing a restricted global namespace, access to dangerous built-in functions is not blocked. As a result, a remote attacker could exploit this vulnerability by sending a crafted query string that includes Python code capable of importing modules, such as os, and executing arbitrary system commands, potentially leading to a complete compromise of the server.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/superduper-io/superduper | [email protected] | |
| https://www.notion.so/CVE-2026-31225-35d1e1393188814f99b5eec7b6517190 | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
No affected product data is available for this CVE.
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 13, 2026 | CVE Modified | CISA-ADP |
| May 12, 2026 | New CVE Received | [email protected] |