{"id":"CVE-2026-31225","aliases":["PYSEC-2026-3077"],"url":"https://o3.security/vulnerability/CVE-2026-31225","summary":"Superduper: Remote code execution via unsafe eval in superduper query parsing","details":"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.","published":"2026-05-12T18:30:38Z","modified":"2026-07-13T16:43:51.879222826Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":{"score":0.00405,"percentile":0.33333,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"superduper-framework","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31225"},{"type":"PACKAGE","url":"https://github.com/superduper-io/superduper"},{"type":"WEB","url":"https://www.notion.so/CVE-2026-31225-35d1e1393188814f99b5eec7b6517190"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-13T16:43:51.879222826Z"}}