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
Published: 2025-04-16
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

Vendor 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

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4180-1 pgbouncer security update
EUVD EUVD EUVD-2025-11379 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
History

Mon, 08 Dec 2025 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Debian
Debian debian Linux
Pgbouncer
Pgbouncer pgbouncer
CPEs cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Vendors & Products Debian
Debian debian Linux
Pgbouncer
Pgbouncer pgbouncer

Mon, 03 Nov 2025 20:30:00 +0000

Type Values Removed Values Added
References

Wed, 16 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 16 Apr 2025 18:15:00 +0000

Type Values Removed Values Added
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
Title PgBouncer default auth_query does not take Postgres password expiry into account
Weaknesses CWE-324
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Debian Debian Linux
Pgbouncer Pgbouncer
cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2025-11-03T19:42:15.907Z

Reserved: 2025-03-13T16:59:51.381Z

Link: CVE-2025-2291

cve-icon Vulnrichment

Updated: 2025-04-16T18:27:52.655Z

cve-icon NVD

Status : Analyzed

Published: 2025-04-16T18:16:04.977

Modified: 2025-12-08T18:32:49.600

Link: CVE-2025-2291

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses