Skip to main content
CVE-2025-12819VulnerabilityPublished Updated

auth_query connection handler · Untrusted Search Path

Affects pgbouncerSource GCVE Database

0
Compare
Authoritative record:CVE-2025-12819· High 7.5

Not known to be exploited · CVSS 7.5 High.

Data as of 9 Nov 2026, 14:33 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 25.10pgbouncerpkg:deb/ubuntu/pgbouncer?arch=source&distro=questingOther threatsAffected
  • =1.24.0-3
  • =1.24.1-1
Fixed in–
Ubuntu 24.04 LTSpgbouncerpkg:deb/ubuntu/pgbouncer?arch=source&distro=nobleOther threatsAffected
  • 1.20.0-1 – 1.22.0-1build4
6 affected builds
Fixed in–
Ubuntu 20.04 LTSpgbouncerpkg:deb/ubuntu/pgbouncer?arch=source&distro=focalOther threatsAffected
  • 1.10.0-1 – 1.12.0-3
5 affected builds
Fixed in–
Ubuntu 18.04 LTSpgbouncerpkg:deb/ubuntu/pgbouncer?arch=source&distro=bionicOther threatsAffected
  • 1.7.2-3build1 – 1.8.1-1build1
4 affected builds
Fixed in–
Ubuntu 16.04 LTSpgbouncerpkg:deb/ubuntu/pgbouncer?arch=source&distro=xenialOther threatsAffected
  • =1.5.5-1
  • =1.6.1-1
  • =1.7-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade PgBouncer to version 1.25.1 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated. Since this is not a cloud service, manual patching is required.

Description

A vulnerability in PgBouncer before version 1.25.1 allows an unauthenticated attacker to execute arbitrary SQL during authentication by exploiting an untrusted search path in the auth_query connection handler via a malicious search_path parameter in the StartupMessage.

References

Community reviews

Loading reviews…