CVE-2025-12819

Untrusted search path in auth_query connection in PgBouncer

State
Published
Severity
7.5 High
Published
Dec 3, 2025
Updated
Dec 27, 2025
Reserved
Nov 6, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HPostgreSQL

Weaknesses

Affected Products

ProductVersions
PgBouncern/a
  • before 1.25.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.