Loading...
Skip to main content

CVE-2025-61385 — Vulnerability in pg8000 — CVE Details

HIGH

pg8000 SQL injection vulnerability via a specially crafted Python list input

Published October 27, 2025Updated July 7, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published October 27, 2025 (350 days ago).
  • Last revised July 7, 2026 — 253 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update pg8000 to 1.31.5 or later
pip install "pg8000>=1.31.5"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: pypi (1).

PackageEcosystemAffectedFixed In
pg8000
pypi
1.00, 1.01, 1.02, 1.03 (+96 more)1.31.5

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U

Frequently Asked Questions

What is CVE-2025-61385?
pg8000 SQL injection vulnerability via a specially crafted Python list input This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2025-61385?
CVE-2025-61385 affects pg8000. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-61385 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-wq2g-r956-j8cc
PYSEC-2026-1766

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies