CVE-2026-134844: pgjdbc - Privilege Escalation
- Cve: CVE-2026-134844
- Name: pgjdbc - Privilege Escalation
- 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.
- Impact: A role with CREATE on a schema in the application's search_path can execute arbitrary code with the application role's privileges, potentially leading to full database compromise.
- Remediation: Upgrade to version 42.7.15 or later.
- Vulnerability impact: privilege_escalation, remote_code_execution
- Requirement type: admin_privileges
- Requirements: Attacker needs CREATE privilege on a schema in the application's search_path
- Labels source: securitycontext
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0037
- Epss percentile: 0.31386
- Assignee: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
- Published at: 2026-11-23T17:17:49Z
- Age in days: 1
- Modified at: 2026-11-23T20:18:02Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-134844
- Nvd status: received
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-427 | Uncontrolled Search Path Element |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-j75g-99q3-vr5c | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| postgresql:postgresql_jdbc_driver | < 42.7.15 | no | cna_alias | /v1/products/postgresql/postgresql_jdbc_driver |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pgjdbc/pgjdbc | security_advisory | yes | /v1/repositories/pgjdbc/pgjdbc |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts