Junglewise Threat Intelligence

CVE-2026-31225: superduper-io superduper remote code execution in query parsing

CVE-2026-31225 · Severity: high · CVSS 8.8 · Published 2026-05-12

Vendors: PyPI.

Executive brief

Superduper, a framework used for integrating AI models with databases, contains a critical security flaw in how it processes search queries. An attacker can send a specially crafted query that forces the server to execute malicious commands. This could lead to a complete takeover of the server, allowing unauthorized access to sensitive data and internal operations.

Technical details

A remote code execution (RCE) vulnerability exists in the superduper-framework (up to version 0.10.0) due to the unsafe use of the Python eval() function within the _parse_op_part() function in query.py. While the implementation attempts to use a restricted global namespace, it fails to sanitize user-supplied query operands or block access to dangerous built-in functions. A remote attacker can exploit this by submitting a crafted query string containing Python code (e.g., utilizing the 'os' module) to execute arbitrary system commands. The attack requires network reachability and some level of user interaction according to the CVSS vector, though it results in a full compromise of the host environment. No patch was available at the time of the advisory.

Affected products

  • superduper-io superduper-framework <= 0.10.0

Timeline

  • 2026-05-12: disclosed
  • 2026-05-12: advisory: NVD publication date
  • 2026-05-18: other: GitHub Advisory reviewed

References