What’s Vulnerable › Vulnerabilities

CVE-2025-12819: Untrusted search path in auth_query connection in PgBouncer

Description

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.

Affected products

How to fix

Upgrade to a fixed version: PgBouncer 1.25.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-12819 or the next vulnerability affects your stack