CVE-2025-12819
JSON

7.5high

Untrusted search path in auth_query connection in PgBouncer

Severity
7.5high CVSS:3.1 by PostgreSQL
Exploit likelihood
0.39% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL
Also known as
BIT-PGBOUNCER-2025-12819

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.

Affected

Product or packageVersionsReported by
PgBouncerbefore 1.25.1CVE List
pgbouncer pgbouncerbefore 1.25.1NVD
pgbouncer (Bitnami)before 1.25.1Bitnami Vulnerability Database

All scores

PostgreSQL7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-426

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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 (es)

Ruta de búsqueda no confiable en el manejador de conexión auth_query en PgBouncer antes de 1.25.1 permite a un atacante no autenticado ejecutar SQL arbitrario durante la autenticación a través de un parámetro search_path malicioso en el StartupMessage.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12819 changed 2025-12-27CVE Terms of Use
NVDCVE-2025-12819 changed 2026-10-18Public domain
Bitnami Vulnerability DatabaseBIT-PGBOUNCER-2025-12819 changed 2026-09-10Apache-2.0