SQL Injection Vulnerability in PostgreSQL pg_dump Affects Specific Versions

Check todayFull system takeover over the network by a logged-in user.
8.8HIGH

CVE-2026-116318

Key Information:

Vendor

PostgreSQL

CVE ID
CVE ID:
CVE-2026-116318
Vendor
CVE Published:
12 November 2026
Fixed in
Fixed in:
18.7

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version
PostgreSQL 18 to below 18.7 is vulnerable
Install PostgreSQL 18.7 or later
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach PostgreSQL. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (8.8).

What is CVE-2026-116318?

CVE-2026-116318 is a SQL injection vulnerability in PostgreSQL's pg_dump utility. It occurs when an object creator can exploit an inherited column with a child-local not-null constraint that requires quoting. This allows the attacker to execute arbitrary SQL commands as the user restoring the dump. Affected versions include PostgreSQL 18.x prior to 18.7, while versions before 18 are not vulnerable.

Potential Impact of CVE-2026-116318

  1. Arbitrary SQL execution: An attacker can execute arbitrary SQL commands as the user restoring the dump, potentially compromising the database integrity or confidentiality.

References

Type Confusion Vulnerability in PostgreSQL Database Software

CVE-2026-6460
PostgreSQLPostgresqlπŸ˜„πŸ‘Ύ8.8HIGH

Type Confusion Vulnerability in PostgreSQL Database Management System

CVE-2026-116331
PostgreSQLPostgresqlπŸ˜„πŸ‘Ύ8.8HIGH

Integer Wraparound Vulnerability in PostgreSQL Database Management System

CVE-2026-116328
PostgreSQLPostgresql8.8HIGH
View more PostgreSQL vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Credit

The PostgreSQL project thanks Anthropic OSS program, Sarath Kumar, and Nikolay Samokhvalov for reporting this problem.
.