PgBouncer
Untrusted search path in auth_query connection in PgBouncer
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by NVD · CWE-426
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
n/a PgBouncer
- < 1.25.1
Fixed in 1.25.1
Mitigation
Upgrade PgBouncer to 1.25.1 or later.
Workaround
Remove search_path and any other security sensitive parameters from track_extra_parameters
ensure auth_query uses fully-qualified object and operator names (e.g., pg_catalog.current_user instead of current_user)
References
- Release notes pgbouncer.org/changelog.html
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.