{"id":"CVE-2025-2291","aliases":["CVE-2025-2291","BIT-PGBOUNCER-2025-2291"],"related":[],"kind":"vulnerability","state":"published","title":"PgBouncer default auth_query does not take Postgres password expiry into account","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"La contraseña se puede usar después de su vencimiento en PgBouncer debido a que auth_query no tiene en cuenta el valor VÁLIDO HASTA de Postgres, lo que permite que un atacante inicie sesión con una contraseña ya vencida.","source":"nvd"}],"published":"2025-04-16T18:00:05.413Z","modified":"2026-09-08T08:48:24.630Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-324"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.24.1","status":"affected"}],"product":"PgBouncer","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.24.1"}],"vendor":"pgbouncer","product":"pgbouncer","cpe":"cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.24.1"}],"ecosystem":"Bitnami","package":"pgbouncer","purl":"pkg:bitnami/pgbouncer","source":"bitnami"}],"references":[{"url":"https://www.pgbouncer.org/changelog.html#pgbouncer-124x","tags":["article","release-notes"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html","tags":["advisory","mailing-list","third-party-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2291","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-16T18:22:39.693Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-2291","url":"https://www.cve.org/CVERecord?id=CVE-2025-2291","licence":"CVE Terms of Use","modified":"2025-11-03T19:42:15.907Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-2291","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2291","licence":"Public domain","modified":"2026-06-17T09:06:42.010Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PGBOUNCER-2025-2291","url":"https://osv.dev/vulnerability/BIT-PGBOUNCER-2025-2291","licence":"Apache-2.0","modified":"2026-09-08T08:48:24.630Z"}],"updatedAt":"2026-11-25T22:58:56.637Z","epss":{"score":0.00373,"percentile":0.33238,"date":"2026-12-02T12:00:21.000Z"}}