GitHub Advisoryadvisory · PyPI
GHSA-2799-6g5r-mmc7 Superduper: Remote code execution via unsafe eval in superduper query parsing
HIGH
Official page ↗
- Aliases
- CVE-2026-31225
- Ecosystem
- PyPI
- Packages
- superduper-framework
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94
- Reviewed
- 2026-05-18
Affected packages
• PyPI superduper-framework: <= 0.10.0 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2026-31225 The superduper project thru v0.10.0 contains a critical remote code execution vulnerability in its query parsing component. vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness