Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. superduper-framework
  4. ›
  5. CVE-2026-31225

CVE-2026-31225: Superduper: Remote code execution via unsafe eval in superduper query parsing

May 12, 2026 (updated May 18, 2026)

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.

References

  • github.com/advisories/GHSA-2799-6g5r-mmc7
  • nvd.nist.gov/vuln/detail/CVE-2026-31225
  • www.notion.so/CVE-2026-31225-35d1e1393188814f99b5eec7b6517190

Code Behaviors & Features

Detect and mitigate CVE-2026-31225 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.10.0

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/superduper-framework/CVE-2026-31225.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:51 +0000.