{"id":"CVE-2025-12819","published":"2025-12-03T19:00:09Z","modified":"2025-12-27T16:04:17Z","title":"Untrusted search path in auth_query connection in PgBouncer","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00629,"percentile":0.44548,"provenance":"source"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"references":[{"url":"https://www.pgbouncer.org/changelog.html#pgbouncer-125x","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/12/msg00033.html","tags":[]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.91},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"PgBouncer","versions":["< 1.25.1"]}],"workarounds":{"items":["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)"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-12-03T19:11:14.559731Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-201089","exploited":false,"provenance":"source"}}