PoC Monitor
← All CVEs
CVE-2025-2291published 16 Apr 2025 18:00 UTCData: JSON · API

PgBouncer

PgBouncer default auth_query does not take Postgres password expiry into account

Password can be used past expiry in PgBouncer due to auth_query not taking into account Postgres its VALID UNTIL value, which allows an attacker to log in with an already expired password

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by NVD · CWE-324
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

n/a PgBouncer
  • < 1.24.1

Fixed in 1.24.1

Mitigation

Upgrade PgBouncer to 1.24.1 or later.

Workaround

Configure a custom auth_query containing the new default auth_query introduced in PgBouncer 1.24.1, this auth_query takes expiry into account

References

Timeline

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

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.