CVE-2026-31225
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
superduper-framework (PyPI)up to 0.10.0GitHub Advisory Database, PyPA Advisory Database

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
PyPA Advisory Database8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-94

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

SourceRecordLicence
CVE ListCVE-2026-31225 changed 2026-05-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-2799-6g5r-mmc7 changed 2026-07-13CC-BY-4.0
NVDCVE-2026-31225 changed 2026-10-19Public domain
PyPA Advisory DatabasePYSEC-2026-3077 changed 2026-07-13CC-BY-4.0