CVE-2025-61385 Details
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.
A SQL injection vulnerability has been identified in tlocke pg8000 version 1.31.4. This vulnerability allows remote attackers to execute arbitrary SQL commands by sending a specially crafted Python list to the pg8000.native.literal function. The issue arises because the library does not properly escape list elements, enabling the injection and execution of malicious SQL fragments in the database.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 27, 2025CISA-ADP
Assessed Oct 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://codeberg.org/tlocke/pg8000/commit/8663c746b02286c32f19c385f0e2e5da9e4fa140 | [email protected] | Source CodeVendor |
| https://github.com/bmcyver/vulnerability-research/tree/main/CVE-2025-61385 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| tlocke pg8000 | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 28, 2025 | CVE Modified | CISA-ADP |
| Oct 28, 2025 | CVE Modified | CISA-ADP |
| Oct 27, 2025 | New CVE Received | [email protected] |
Volerion