#VU119232 Untrusted search path in pgbouncer - CVE-2025-12819

 

#VU119232 Untrusted search path in pgbouncer - CVE-2025-12819

Published: December 6, 2025


Vulnerability identifier: #VU119232
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-12819
CWE-ID: CWE-426
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
pgbouncer
Software vendor:
PgBouncer

Description

The vulnerability allows a remote attacker to execute arbitrary SQL commands.

The vulnerability exists due to usage of an untrusted search path passed via the search_path parameter in the StartupMessage. A remote non-authenticated attacker can send specially crafted request during authentication and execute arbitrary SQL commands in the database. 


Remediation

Install updates from vendor's website.

External links