Vulnerabilities

Vulnerability · CVE-2025-12819

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

Published Dec 3, 2025 · catalog updated Oct 18, 2026 · PgBouncer

Last checked Oct 27, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2025-12819. EPSS is 0.36%. Act only if a listed version of PgBouncer is installed.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
High8.1
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.36%
Remediation
Version ranges on file
Affected products
cpe pgbouncer/pgbouncer · vendor n/a PgBouncer 0 <1.25.1

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe pgbouncer/pgbouncerversion unspecified
  • vendor n/a PgBouncer 0 <1.25.10 <1.25.1

How to fix CVE-2025-12819

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2025-12819. EPSS is 0.36%. Act only if a listed version of PgBouncer is installed.

Which versions are affected?

Compare what you have installed with n/a PgBouncer 0 <1.25.1 0 <1.25.1. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-426: Untrusted Search Path. EPSS 0.36%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Dec 3, 2025 · NIST NVD

    Detected

    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.

  2. Oct 18, 2026 · NIST NVD

    Updated

    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.

Sources

  • CVE.orgVulnerability recordCVE-2025-12819

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2025-12819

    30-day exploitation probability 0.36%

    first.org
  • EUVDVulnerability recordEUVD-2025-201089

    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.

    euvd.enisa.europa.eu
  • NIST NVDVulnerability recordCVE-2025-12819

    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.

    nvd.nist.gov

References

Freshness

Last verified in this catalog Oct 27, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • EUVDOct 27, 2026
  • FIRST EPSSOct 24, 2026
  • CVE.orgOct 21, 2026
  • NIST NVDOct 18, 2026