CVE-2026-31225
HIGH 8.8CVSS 3.1Superduper: Remote code execution via unsafe eval in superduper query parsing
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.
- Published
- 12 May 2026
- Last modified
- 19 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Awaiting Analysis
- Weakness
- CWE-94
- Also known as
- GHSA-2799-6g5r-mmc7PYSEC-2026-3077
- Sources
- NVDJSONOSV GHSA-2799-6g5r-mmc7JSONOSV PYSEC-2026-3077JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | superduper-framework | <= 0.10.0 |
References
- https://github.com/superduper-io/superduper · PACKAGE
- https://www.notion.so/CVE-2026-31225-35d1e1393188814f99b5eec7b6517190 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-31225 · ADVISORY
- https://pypi.org/project/superduper-framework · PACKAGE
- https://github.com/advisories/GHSA-2799-6g5r-mmc7 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 12 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 May 2026)