CVE-2025-12819CWE-426

CVE-2025-12819

High · published December 4, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
29.1
In the wild
Unconfirmed
What it is

⚡ A sneaky search path vulnerability in PgBouncer could let an unauthenticated user slip in and run arbitrary SQL during authentication! 🔥 Think of it like a restaurant where the staff serve dishes based on a recipe book they trust without checking the source. If someone slips in a fake recipe, they could poison the entire menu! This vulnerability could lead to devastating consequences, allowing attackers to manipulate the database as they wish — reading sensitive data, changing records, or even wiping everything clean! Without a solid check on the search_path parameter, the door is wide open for chaos to ensue.

Put simply

Think of it like a restaurant where the staff serve dishes based on a recipe book they trust without checking the source. If someone slips in a fake recipe, they could poison the entire menu! This untrusted search path flaw permits attackers to influence SQL execution during authentication by injecting a malicious search_path parameter in the StartupMessage, effectively bypassing security measures.

What to do

This vulnerability could lead to devastating consequences, allowing attackers to manipulate the database as they wish — reading sensitive data, changing records, or even wiping everything clean! Without a solid check on the search_path parameter, the door is wide open for chaos to ensue. To protect your systems, upgrade PgBouncer to version 1.25.1 immediately. Additionally, review your configuration settings to ensure proper validation of the search_path parameter, keeping your database safe from unwanted guests! You've got this! Follow these steps, and you'll have the defenses up in no time. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00364 · 29.1th percentile
Weakness
CWE-426 · Untrusted Search Path
Published
2025-12-04T00:15Z
Affected products (1)
ProductVersionsFixed in
pgbouncer/pgbouncer< 1.25.11.25.1
References (2)
EPSS history
Timeline
  • 03 DEC 19:00Z
    Untrusted search path in auth_query connection in PgBouncer
    cvelistv5