CVE-2025-61385

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…

Critical · published October 27, 2025

CVSS v3.1
9.6
EPSS
0%
Percentile
28.9
In the wild
Unconfirmed
What it is

🔥 A single crafted Python list can turn into a treasure chest of SQL commands for attackers! Think of this vulnerability like a diner that accepts any order without checking the menu — an attacker can send in any dish they want, leading to a recipe for disaster. In this case, the dish is arbitrary SQL commands running on your database! If exploited, this SQL injection could allow attackers to access, modify, or even delete your entire database. It's absolutely devastating, as they could manipulate sensitive data, impersonate users, or bring your service to a grinding halt!

Put simply

Think of this vulnerability like a diner that accepts any order without checking the menu — an attacker can send in any dish they want, leading to a recipe for disaster. In this case, the dish is arbitrary SQL commands running on your database! This SQL injection vulnerability in tlocke pg8000 version 1.31.4 allows remote attackers to execute arbitrary SQL commands via a specially crafted Python list input to the function pg8000.native.literal, bypassing intended restrictions.

What to do

If exploited, this SQL injection could allow attackers to access, modify, or even delete your entire database. It's absolutely devastating, as they could manipulate sensitive data, impersonate users, or bring your service to a grinding halt! To secure your system, upgrade to tlocke pg8000 version 1.32.0 or later immediately. Review your input validation processes to ensure that arbitrary SQL execution is blocked effectively. Additionally, consider implementing prepared statements to bolster your defenses against SQL injections. You've got this! With these steps, you'll be well on your way to locking down your database. 🛡️

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00363 · 28.9th percentile
Published
2025-10-27T00:00Z
EPSS history
Timeline
  • 27 OCT 00:00Z
    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…
    cvelistv5