CVE-2026-134844
JSON

7.5high

pgjdbc catalog queries can run objects of other database roles

Severity
7.5high CVSS:3.1 by PostgreSQL
Exploit likelihood
0.64% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL

Description

pgjdbc, the PostgreSQL JDBC Driver, uses unqualified operators and functions in the catalog queries of DatabaseMetaData, ResultSetMetaData and TypeInfoCache. A role with CREATE on a schema of the application's search_path can add an operator with an exact type match, and the server runs it with the privileges of the application's role. TypeInfoCache also resolves an unqualified type name such as interval by its own ranking. A domain with that name in another schema, even the temporary schema of another session, can be used instead, and its CHECK runs in the application's session. All versions before 42.7.15 are affected, and 42.7.15 fixes the problem.

Affected

Product or packageVersionsReported by
org.postgresql:postgresqlbefore 42.7.15CVE List

Classification

CWE-427

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

References

Sources

SourceRecordLicence
CVE ListCVE-2026-134844 changed 2026-11-23CVE Terms of Use
NVDCVE-2026-134844 changed 2026-11-24Public domain