CVE-2025-12819
7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Summary
Untrusted search path in auth_query connection handler in PgBouncer before 1.25.1 allows an unauthenticated attacker to execute arbitrary SQL during authentication via a malicious search_path parameter in the StartupMessage.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | PgBouncer | 0 < 1.25.1 | affected |
Weaknesses
- CWE-426: Untrusted Search Path
Workarounds
Remove search_path and any other security sensitive parameters from track_extra_parameters ensure auth_query uses fully-qualified object and operator names (e.g., pg_catalog.current_user instead of current_user)
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
CVE Program Container
Additional References
References
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.