Untrusted search path in auth_query connection handler in PgBouncer before 1.25.1 allows an unauthenticated attacker to execute arbitrary SQL during authentication via a malicious search_path parameter in the StartupMessage.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-4422-1 pgbouncer security update
Fixes

Solution

No solution given by the vendor.


Workaround

Remove search_path and any other security sensitive parameters from track_extra_parameters

History

Sat, 27 Dec 2025 16:30:00 +0000

Type Values Removed Values Added
References

Sat, 06 Dec 2025 00:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:*

Thu, 04 Dec 2025 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Pgbouncer
Pgbouncer pgbouncer
Vendors & Products Pgbouncer
Pgbouncer pgbouncer

Wed, 03 Dec 2025 23:30:00 +0000

Type Values Removed Values Added
References

Wed, 03 Dec 2025 22:45:00 +0000

Type Values Removed Values Added
Description Untrusted search path in auth_query connection handler in PgBouncer before 1.25.0 allows an unauthenticated attacker to execute arbitrary SQL during authentication via a malicious search_path parameter in the StartupMessage. Untrusted search path in auth_query connection handler in PgBouncer before 1.25.1 allows an unauthenticated attacker to execute arbitrary SQL during authentication via a malicious search_path parameter in the StartupMessage.
References

Wed, 03 Dec 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 03 Dec 2025 19:15:00 +0000

Type Values Removed Values Added
Description Untrusted search path in auth_query connection handler in PgBouncer before 1.25.0 allows an unauthenticated attacker to execute arbitrary SQL during authentication via a malicious search_path parameter in the StartupMessage.
Title Untrusted search path in auth_query connection in PgBouncer
Weaknesses CWE-426
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2025-12-27T16:04:17.588Z

Reserved: 2025-11-06T17:22:32.839Z

Link: CVE-2025-12819

cve-icon Vulnrichment

Updated: 2025-12-27T16:04:17.588Z

cve-icon NVD

Status : Modified

Published: 2025-12-03T19:15:55.227

Modified: 2025-12-27T16:15:51.840

Link: CVE-2025-12819

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2025-12-04T21:37:56Z

Weaknesses