CVE-2025-2291
published 2025-04-16CVE-2025-2291: 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…
PriorityP357critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.35%
27.3th percentile
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
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | pgbouncer | < pgbouncer 1.18.0-1+deb12u1 (bookworm) | pgbouncer 1.18.0-1+deb12u1 (bookworm) |
| msrc | azl3_pgbouncer_1.20.1-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_pgbouncer_1.24.1-1_on_azure_linux_3.0 | — | — |
| msrc | cbl2_pgbouncer_1.16.1-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_pgbouncer_1.24.1-1_on_cbl_mariner_2.0 | — | — |
| pgbouncer | pgbouncer | < 1.24.1 | 1.24.1 |
| pgbouncer | pgbouncer | >= 0 < 1.15.0-1+deb11u1 | 1.15.0-1+deb11u1 |
| pgbouncer | pgbouncer | >= 0 < 1.18.0-1+deb12u1 | 1.18.0-1+deb12u1 |
| pgbouncer | pgbouncer | >= 0 < 1.24.1-1 | 1.24.1-1 |
| pgbouncer | pgbouncer | >= 0 < 1.24.1-1 | 1.24.1-1 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian8.1HIGH
vendor_msrc8.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
PgBouncer default auth_query does not take Postgres password expiry into account
vendor_msrc·2025-04-08·CVSS 8.1
CVE-2025-2291 [HIGH] CWE-324 PgBouncer default auth_query does not take Postgres password expiry into account
PgBouncer default auth_query does not take Postgres password expiry into account
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
PostgreSQL: PostgreSQL
Customer Action Required: Yes
Remediation: CBL-Mariner
Debian
CVE-2025-2291: pgbouncer - Password can be used past expiry in PgBouncer due to auth_query not taking into ...
vendor_debian·2025·CVSS 8.1
CVE-2025-2291 [HIGH] CVE-2025-2291: pgbouncer - Password can be used past expiry in PgBouncer due to auth_query not taking into ...
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
Scope: local
bookworm: resolved (fixed in 1.18.0-1+deb12u1)
bullseye: resolved (fixed in 1.15.0-1+deb11u1)
forky: resolved (fixed in 1.24.1-1)
sid: resolved (fixed in 1.24.1-1)
trixie: resolved (fixed in 1.24.1-1)
GHSA
GHSA-qj9w-64mv-p2fw: 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 lo
ghsa_unreviewed·2025-04-16
CVE-2025-2291 [HIGH] CWE-324 GHSA-qj9w-64mv-p2fw: 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 lo
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
OSV
CVE-2025-2291: 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 lo
osv·2025-04-16·CVSS 9.8
CVE-2025-2291 [CRITICAL] CVE-2025-2291: 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 lo
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
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-04-16
Published