CVE-2025-2291

PgBouncer default auth_query does not take Postgres password expiry into account

State
Published
Severity
8.1 High
Published
Apr 16, 2025
Updated
Nov 3, 2025
Reserved
Mar 13, 2025

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HPostgreSQL

Weaknesses

  • CWE-324 Use of a Key Past its Expiration Date

Affected Products

ProductVersions
PgBouncern/a
  • before 1.24.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.