Vulnerabilities / CVE-2025-2291

critical

CVE-2025-2291

Password can be used past expiry in PgBouncer due to auth_query not ta ...

Published Modified CWE 324
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Bitnami9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami. Rated lower by Azure Linux (high), CBL-Mariner (high).

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

Affected packages and fixed versions

SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasepgbouncer1.24.1
Azure Linux 3.0pgbouncer0:1.24.1-1.azl3
CBL-Mariner 2.0pgbouncer0:1.24.1-1.cm2
debian 11pgbouncer1.15.0-1+deb11u1
debian 12pgbouncer1.18.0-1+deb12u1
debian 13pgbouncer1.24.1-1
debian 14pgbouncer1.24.1-1
echopgbouncer1.18.0-1+deb12u1
rapidfort debian 12pgbouncer0:1.24.1-1
rapidfort debian 13pgbouncer0:1.24.1-1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.