PoC Monitor
← All CVEs
CVE-2025-12819published 3 Dec 2025 19:00 UTCData: JSON · API

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

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published3 Dec 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.