8.8high
Superduper: Remote code execution via unsafe eval in superduper query parsing
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.40% (higher than 36% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-2799-6g5r-mmc7PYSEC-2026-3077
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| superduper-framework (PyPI) | up to 0.10.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
El proyecto superduper hasta la v0.10.0 contiene una vulnerabilidad crítica de ejecución remota de código en su componente de análisis de consultas. La función _parse_op_part() en query.py utiliza la función insegura eval() para evaluar dinámicamente operandos de consulta proporcionados por el usuario sin una sanitización o restricción adecuada. Aunque la función intenta limitar el contexto de ejecución al proporcionar un espacio de nombres global restringido, no bloquea el acceso a funciones integradas peligrosas. Un atacante remoto puede explotar esto al enviar una cadena de consulta especialmente diseñada que contiene código Python que importa módulos (p. ej., os) y ejecuta comandos de sistema arbitrarios, lo que lleva al compromiso completo del servidor.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31225 changed 2026-05-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2799-6g5r-mmc7 changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-31225 changed 2026-10-19 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3077 changed 2026-07-13 | CC-BY-4.0 |