CVE-2025-2291
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
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:HAttack ComplexityHigh
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:HConfidentialityHigh
I:HIntegrityHigh
A:HAvailabilityHigh
Weaknesses
Affected Products
Сообщество свободного программного обеспечения
oss-projectaka fsf
pgbouncer
oss-project
debian
oss-project·GBaka debian gnu/linux
ООО «Ред Софт»
commercial·RUaka red soft
ООО «РусБИТех-Астра»
commercial·RUaka rusbitech-astra
and 1 more affected products View all →
Exploitability
Official Patch Available
Workaround Available
References
https://www.pgbouncer.org/changelog.html#pgbouncer-124x
pgbouncer.org
https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html
lists.debian.org
https://redos.red-soft.ru/support/secure/
redos.red-soft.ru
and 5 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-2291 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
