CVE Catalog

CVE-2026-31225

High
Published: Translated: NVD NIST

Summary

The superduper project up to version 0.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.

Risk Assessment

This vulnerability allows a remote attacker to execute arbitrary system commands, potentially leading to complete server compromise. Organizations should be aware of the risks associated with unauthorized access to their systems.

Recommendation

It is recommended to upgrade to the latest version of the superduper project that addresses this vulnerability. Additionally, avoid using the eval() function in the context of processing user input.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS