Skip to main content

PostgreSQL JDBC Driver EUVDEUVD-2026-133249

| CVE-2026-134844 HIGH
Uncontrolled Search Path Element (CWE-427)
2026-11-23 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
7.5
CVSS 3.1 · Vendor: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege PostgreSQL role
  2. Delivery
    Create malicious operator/function or same-named domain in search_path or temp schema
  3. Exploit
    Application issues pgjdbc metadata query or binds PGInterval
  4. Execution
    Server resolves unqualified object to attacker's and runs it
  5. Impact
    Arbitrary SQL executes with application role's privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
Exploitation Conditions

Two distinct prerequisite sets. Operator/function variant: the attacker must be an authenticated database role holding CREATE on a schema that appears on the application's search_path, allowing it to define an exact-type-match operator or function (e.g. for oid/int4 comparisons lacking an exact pg_catalog match). Type-name/domain variant: only the TEMP privilege is required, which every PostgreSQL role has by default, letting the attacker place a same-named type or domain (such as 'interval' for PGInterval) in a temporary or other schema whose CHECK then runs in the application session. In both cases the application must actually call metadata methods (DatabaseMetaData, ResultSetMetaData) or use types such as PGInterval for the malicious object to be resolved and executed. LIMITING FACTORS: exploitation requires a pre-existing authenticated database foothold (not remote-unauthenticated), a non-isolated/shared or multi-tenant database where an untrusted role can create objects, a search_path that includes an attacker-writable schema, and the application triggering the vulnerable driver code paths; it affects pgjdbc <=42.7.14 only and is fully fixed by upgrading to 42.7.15.

Impact

Severity signals are genuinely mixed. The CVSS vector (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) rates this HIGH on impact (C:H/I:H/A:H, reflecting arbitrary SQL executed with the application role's privileges), but its real-world risk is gated by two factors the raw 7.5 obscures: AC:H and PR:L. Exploitation is not remote-unauthenticated - the attacker must ALREADY be an authenticated PostgreSQL role (PR:L) with CREATE on a schema in the application's search_path, or (for the type-name/domain variant) merely TEMP privilege, which every role holds by default. No EPSS score and no SSVC exploitation/automatable data were supplied, and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation; the only priority signal is the vuln.today 'this_week' label. This is therefore a credible privilege-escalation primitive for shared/multi-tenant PostgreSQL deployments and insider/compromised-role scenarios rather than a mass-exploitable internet-facing flaw - treat it as a real but foothold-dependent escalation issue, not a drop-everything emergency. One caveat to verify: the tags label this 'Information Disclosure', but the advisory describes running attacker-supplied SQL as the application role, which is privilege escalation / code-of-choice execution, broader than disclosure alone.

Exploit ScenarioDerived

In a shared PostgreSQL instance, a low-privilege tenant role creates a function and an exact-type-match operator (e.g. s.= over oid/int4) in a schema that sits on the application's search_path, or a same-named domain in a temporary schema using only the default TEMP privilege. When the Java application's pgjdbc driver issues a DatabaseMetaData/ResultSetMetaData catalog query or binds a PGInterval parameter, the server resolves the unqualified operator, function or type to the attacker's object and runs it with the application role's privileges. A demonstrative proof-of-concept (SQL plus a getTableName() call) is published in the GHSA advisory; it is not verified as a packaged working exploit.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 23, 2026

The PostgreSQL JDBC Driver (pgjdbc) through 42.7.14 fails to schema-qualify operators, functions, and type names in catalog queries used by DatabaseMetaData, ResultSetMetaData, and TypeInfoCache, so a database role that can create objects in a schema on the application's search_path can execute SQL with the application role's privileges. The type-name variant requires only the default TEMP privilege, letting a same-named domain's CHECK constraint run in the application's session if the application calls metadata methods or uses types such as PGInterval. The vendor advisory includes a proof-of-concept demonstration; no active exploitation or confirmed working exploit code is reported, and upgrading to 42.7.15 is the complete fix.

RemediationAI

Upgrade to pgjdbc 42.7.15 (Maven org.postgresql:postgresql), the first fixed release; the vendor advisory is GHSA-j75g-99q3-vr5c at https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-j75g-99q3-vr5c. The advisory does not document a separate workaround, so upgrading is the complete fix. Based on the documented prerequisites, reduce exposure by ensuring the application role's search_path does not include schemas writable by untrusted roles-prefer search_path set to pg_catalog alone or to a schema untrusted roles cannot CREATE in-and revoke CREATE on public and other search_path schemas from untrusted roles; this may break applications that rely on those schemas for user-created objects. For the type-name variant, revoke TEMP on the database from untrusted roles or isolate untrusted roles in separate databases, accepting that this can break temporary-table usage. Also avoid sharing application roles with untrusted database users. Schedule remediation within this week's cycle.

Affected VersionsENISA

pgjdbc 0 <42.7.15

Affected Packages

euvd pgjdbc fix: 42.7.15

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-427 (Uncontrolled Search Path Element) is the root cause: pgjdbc issues catalog queries with unqualified operator, function, and type references, and PostgreSQL resolves those names using the session search_path. Some comparisons, such as oid versus int4, have no exact match in pg_catalog, so a role with CREATE on a schema in the search_path can define an exact-match operator or function that the server then executes as the application's role. TypeInfoCache separately resolves unqualified type names like interval by its own ranking, so a same-named type or domain placed in another schema-including another session's temporary schema-can win; the domain's CHECK constraint then runs in the application's session. The CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H vector reflects a network-reachable database attack that requires an authenticated low-privileged role and specific search_path and application-code conditions, with high confidentiality, integrity, and availability impact once triggered. The application must actually call DatabaseMetaData or ResultSetMetaData methods or use types such as PGInterval for the malicious object to be resolved.

Know when PostgreSQL gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Attacker needs an authenticated DB role (PR:L) and specific search_path/exact-match plus triggering metadata call conditions (AC:H); resulting SQL runs as the application role, yielding full C/I/A impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007).

CVSS VectorVendor: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 23, 2026 - 18:02 EUVD
CVE Published
Nov 23, 2026 - 17:17 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Technical POC Analysis

CWE-427 (Uncontrolled Search Path Element).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

The PostgreSQL JDBC Driver (pgjdbc) up to 42.7.14 contains a privilege escalation vulnerability that allows a low-privileged database role to execute SQL with the application's privileges by exploiting unqualified schema references in catalog queries. This impacts any organization using pgjdbc for database connectivity, potentially enabling unauthorized data access or manipulation. Leadership should prioritize remediation due to the high severity and the driver's widespread use in enterprise applications.

Business Impact: High
Compensating Controls

Apply vendor patch (upgrade to 42.7.15). If patching is delayed, restrict database role permissions to prevent object creation in schemas on the application's search_path and revoke TEMP privilege from application roles where possible.

Threat Intelligence Overview

Prevalence
High
official PostgreSQL JDBC driver, standard in Java-to-PostgreSQL enterprise stacks
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy