CVE-2026-116318: PostgreSQL pg_dump - SQL Injection
- Cve: CVE-2026-116318
- Name: PostgreSQL pg_dump - SQL Injection
- Description: SQL injection in PostgreSQL pg_dump allows an object creator to execute arbitrary SQL as the user restoring the dump, via an inherited column having a child-local not-null constraint whose name requires quoting. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.
- Impact: Object creators can execute arbitrary SQL as the user restoring the dump, potentially leading to full database compromise.
- Remediation: Upgrade to PostgreSQL 18.7 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker must be able to create database objects with crafted inherited column constraints.
- Labels source: securitycontext
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00433
- Epss percentile: 0.38031
- Assignee: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
- Published at: 2026-11-12T15:17:40Z
- Age in days: 12
- Modified at: 2026-11-13T05:18:04Z
- References total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-116318
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
References
| Url | Source | Tags |
|---|---|---|
| https://www.postgresql.org/support/security/CVE-2026-116318/ | nvd |
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