Skip to content
DayZeroHub
High Not yet writtenCVSS 7.5CVE-2026-134844

CVE-2026-134844: pgjdbc catalog queries can run objects of other database roles

pgjdbc pgjdbc

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-134844: high-severity vulnerability (CVSS 7.5) in pgjdbc pgjdbc.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.5.

Affected products and versions

pgjdbc pgjdbc < 42.7.15

ProductVersionsFixed in
pgjdbc pgjdbc< 42.7.15—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-427

Relevant change history

  1. Published

    Preliminary advisory published.