Vulnerability · Published Oct 27, 2025 · Assigned by mitre

CVE-2025-61385

Critical 9.6

In plain English

A critical-severity SQL injection in the pg8000 package (PyPI). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.6Critical
Exploit odds (30 days)0.4%top 69.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

SQL injection vulnerability in tlocke pg8000 1.31.4 allows remote attackers to execute arbitrary SQL commands via a specially crafted Python list input to function pg8000.native.literal.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpg80001.31.5GHSA-wq2g-r956-j8cc
PyPIpg80001.31.5PYSEC-2026-1766

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References