{"cve":"CVE-2026-31225","nvd":{"published":"2026-05-12T16:16:14.430","modified":"2026-10-19T22:10:00.130","status":"Awaiting Analysis","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-94"],"references":["https://github.com/superduper-io/superduper","https://www.notion.so/CVE-2026-31225-35d1e1393188814f99b5eec7b6517190"],"products":[],"source":"nvd","synced_at":"2026-10-21T03:43:09.190223697+00:00"},"epss":{"cve":"CVE-2026-31225","score":0.00405,"percentile":0.34447,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-2799-6g5r-mmc7","url":"https://osv.dev/vulnerability/GHSA-2799-6g5r-mmc7","summary":"Superduper: Remote code execution via unsafe eval in superduper query parsing","modified":"2026-07-13T16:43:51.879222826Z","packages":[{"ecosystem":"PyPI","name":"superduper-framework","purl":"pkg:pypi/superduper-framework","ranges":["<=0.10.0"],"fixed":[]}]},{"id":"PYSEC-2026-3077","url":"https://osv.dev/vulnerability/PYSEC-2026-3077","summary":"Superduper: Remote code execution via unsafe eval in superduper query parsing","modified":"2026-07-13T16:33:12.958264940Z","packages":[{"ecosystem":"PyPI","name":"superduper-framework","purl":"pkg:pypi/superduper-framework","ranges":["<=0.10.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}