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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

Remove search_path and any other security sensitive parameters from track_extra_parameters

History

Wed, 03 Dec 2025 22:45:00 +0000

Type Values Removed Values Added
Description Untrusted search path in auth_query connection handler in PgBouncer before 1.25.0 allows an unauthenticated attacker to execute arbitrary SQL during authentication via a malicious search_path parameter in the StartupMessage. 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.
References

Wed, 03 Dec 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 03 Dec 2025 19:15:00 +0000

Type Values Removed Values Added
Description Untrusted search path in auth_query connection handler in PgBouncer before 1.25.0 allows an unauthenticated attacker to execute arbitrary SQL during authentication via a malicious search_path parameter in the StartupMessage.
Title Untrusted search path in auth_query connection in PgBouncer
Weaknesses CWE-426
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2025-12-03T22:38:58.388Z

Reserved: 2025-11-06T17:22:32.839Z

Link: CVE-2025-12819

cve-icon Vulnrichment

Updated: 2025-12-03T19:11:33.360Z

cve-icon NVD

Status : Received

Published: 2025-12-03T19:15:55.227

Modified: 2025-12-03T19:15:55.227

Link: CVE-2025-12819

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.