SQL Injection Vulnerability in PostgreSQL pg_dump Affects Specific Versions
CVE-2026-116318
Key Information:
- Vendor
PostgreSQL
- Status
- 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
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
- Arbitrary SQL execution: An attacker can execute arbitrary SQL commands as the user restoring the dump, potentially compromising the database integrity or confidentiality.
References
More PostgreSQL Vulnerabilities
Type Confusion Vulnerability in PostgreSQL Database Software
Type Confusion Vulnerability in PostgreSQL Database Management System
Integer Wraparound Vulnerability in PostgreSQL Database Management System
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction