All vulnerabilities

Servers and applications

CVE-2026-116314

PostgreSQL pg_restore executes arbitrary code due to missing non-plain archive validation

Severity
High 8.8
Published
12 Nov 2026
Last changed
13 Nov 2026
Added to UpHeron
13 Nov 2026
Fixed in
14.25, 15.20, 16.16, 17.12, 18.7
Exploit chance
0.5% in the next 30 daysHigher than 45% of CVEs. EPSS by FIRST, 13 Nov 2026
Weakness
Improper input validation (CWE-20)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Sources
CVE Program

Description

Improper input validation in PostgreSQL pg_restore allows a non-plain archive provider to execute arbitrary code as the operating system user running pg_restore, via a crafted archive. Note a contrast: crafted archive data may legitimately cause arbitrary SQL to execute at the restore destination, but it does not legitimately confer arbitrary code execution in the pg_restore OS process. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

From the CVE Program.

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cna:n/a|postgresql
  • Every version before 14.25
  • From 15 before 15.20
  • From 16 before 16.16
  • From 17 before 17.12
  • From 18 before 18.7

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-116314