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.
Published: 2026-11-23
Score: 7.5 High
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

Upgrade to pgjdbc 42.7.15 or later.


Vendor Workaround

Do not grant CREATE on schemas of the application's search_path to untrusted roles, and revoke TEMP from them.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 23 Nov 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 23 Nov 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Pgjdbc
Pgjdbc pgjdbc
Vendors & Products Pgjdbc
Pgjdbc pgjdbc

Mon, 23 Nov 2026 17:15:00 +0000

Type Values Removed Values Added
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.
Title pgjdbc catalog queries can run objects of other database roles
Weaknesses CWE-427
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2026-11-23T19:32:42.400Z

Reserved: 2026-11-22T17:13:47.180Z

Link: CVE-2026-134844

cve-icon Vulnrichment

Updated: 2026-11-23T19:32:36.264Z

cve-icon NVD

Status : Received

Published: 2026-11-23T17:17:49.487

Modified: 2026-11-23T20:18:02.337

Link: CVE-2026-134844

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-23T19:00:12Z

Weaknesses
  • CWE-427

    Uncontrolled Search Path Element