freenode

← CVE tracker

CVE-2026-116314

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

Severity
high CVSS 8.8 (v3.1)
Affects
PostgreSQL · n/a
Weakness
CWE-20: Improper Input Validation
Published
12 November 2026 by PostgreSQL
First seen on our lists
12 November 2026
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists