CVE-2025-12819: Untrusted search path in auth_query connection handler in PgBouncer before 1.25.1 allows an unauthenticated attacker…
CVE-2025-12819 · Severity: high · CVSS 7.5 · Published 2025-12-03
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.
No. Junglewise Threat Intelligence has no report of CVE-2025-12819 being exploited in the wild.
How severe is CVE-2025-12819?
High severity, with a CVSS score of 7.5, published 3 December 2025.
Which products and versions are affected?
PgBouncer. The advisory does not name versions.
Is there a fix for CVE-2025-12819?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2025-12819?
Check whether you run PgBouncer. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.