---
title: "CVE-2026-116314: PostgreSQL pg_restore executes arbitrary code due to missing non-plain archive validation"
url: https://erroneo.us/security/cve/CVE-2026-116314/
description: "CVE-2026-116314 (PostgreSQL): Improper input validation in PostgreSQL pgrestore allows a non-plain archive provider to execute arbitrary code as the…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-11-12
date_modified: 2026-11-16
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-116314"
kev: false
cvss: 8.8
epss: 0.00487
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-116314: PostgreSQL pg_restore executes arbitrary code due to missing non-plain archive validation

**Signal:** Normal patch cycle. No exploitation signal; fix it in your next routine update if you are affected. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.5% , percentile 43: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 43% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Needs a user to click or open something. Phishing makes that realistic, but it is not wormable.
- Editorial verdict: Patch this week. PostgreSQL Fixes 52 CVEs, Including CVE-2026-6460 RCE — An attacker needs a database login first, and no attacks have been reported, but crash code is public, 32 of the fixes are rated 8.8, and any role that can create objects can reach code execution, so update every server and client this week.

## What it is

Improper input validation in PostgreSQL pgrestore allows a non-plain archive provider to execute arbitrary code as the operating system user running pgrestore, 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 pgrestore OS process. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

## Affected products (CVE record)

- n/a PostgreSQL: 18 < 18.7, 17 < 17.12, 16 < 16.16, 15 < 15.20, < 14.25

## Severity

- PostgreSQL CVSS 3.1: 8.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable no , technical impact total .
- FIRST EPSS (model of 2026-11-21): 0.49% probability of exploitation activity in the next 30 days; percentile 43.

## Sources

- [CVE.org record CVE-2026-116314](https://www.cve.org/CVERecord?id=CVE-2026-116314)
- [NVD entry CVE-2026-116314](https://nvd.nist.gov/vuln/detail/CVE-2026-116314)
- [postgresql.org](https://www.postgresql.org/support/security/CVE-2026-116314/)

---
Source page: https://erroneo.us/security/cve/CVE-2026-116314/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
