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

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-05-12T00:00:00.000Z
- Modified: 2026-10-19T22:10:00.130Z
- Also known as: GHSA-2799-6g5r-mmc7, PYSEC-2026-3077
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- superduper-framework (PyPI): up to 0.10.0

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/superduper-io/superduper> (package)
- <https://www.notion.so/CVE-2026-31225-35d1e1393188814f99b5eec7b6517190> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31225> (advisory)
- <https://pypi.org/project/superduper-framework> (package)
- <https://github.com/advisories/GHSA-2799-6g5r-mmc7> (advisory)

## Sources

- CVE List: [CVE-2026-31225](https://www.cve.org/CVERecord?id=CVE-2026-31225), CVE Terms of Use, modified 2026-05-13
- GitHub Advisory Database: [GHSA-2799-6g5r-mmc7](https://github.com/advisories/GHSA-2799-6g5r-mmc7), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-31225](https://nvd.nist.gov/vuln/detail/CVE-2026-31225), Public domain, modified 2026-10-19
- PyPA Advisory Database: [PYSEC-2026-3077](https://osv.dev/vulnerability/PYSEC-2026-3077), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-31225 · Whole record: https://cve.day/CVE-2026-31225.json · Rebuilt by cve.day 2026-11-25T22:59:21.368Z
