---
id: CVE-2026-31225
aliases:
  - GHSA-2799-6g5r-mmc7
  - PYSEC-2026-3077
title: 'Superduper: Remote code execution via unsafe eval in superduper query parsing'
summary: 'Superduper: Remote code execution via unsafe eval in superduper query parsing'
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
vendor: superduper-framework
product: superduper-framework
ecosystem: pip
affected:
  - superduper-framework <= 0.10.0
published: '2026-05-12'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-2799-6g5r-mmc7'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-31225'
  - url: 'https://github.com/superduper-io/superduper'
  - url: 'https://www.notion.so/CVE-2026-31225-35d1e1393188814f99b5eec7b6517190'
tags:
  - osv
  - pip
epss: 0.007
epssPercentile: 0.51169
ingestedAt: '2026-07-13T18:57:51.194Z'
---

## Overview

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.

## Affected packages

- `superduper-framework <= 0.10.0`

## Remediation

Refer to the advisory for the patched release.
