{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-2291","id":"CVE-2025-2291","title":"PgBouncer default auth_query does not take Postgres password expiry into account","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","descriptionLong":"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-16T18:00:05.413Z","updated":"2026-06-17T09:06:42.010Z","reserved":"2025-03-13T16:59:51.381Z","status":"Analyzed","rejected":false,"assigner":"PostgreSQL","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"PostgreSQL"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"PostgreSQL"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"high","products":["PgBouncer"],"affectedProducts":[{"vendor":"n/a","product":"PgBouncer","defaultStatus":"unaffected","versions":[{"lessThan":"1.24.1","version":"0","versionType":"semver","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-324"],"aliases":["BIT-pgbouncer-2025-2291"],"references":[{"url":"https://www.pgbouncer.org/changelog.html#pgbouncer-124x","tags":["Release Notes","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html","tags":["Mailing List","Third Party Advisory","advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00376,"epssPercentile":0.32166,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-2291","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2291","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-2291","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-2291","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}