llamaCVEVulnerability Intelligence
/
PostgreSQL

CVE-2026-116314

PostgreSQL arbitrary code execution in pg_restore

A remote attacker can run code as the user running pg_restore via a crafted archive, though a user must take action.

Specific setups onlyParche disponibleimproper input validation
Descargar PNG JSON
CVSS 3.1
8.8
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche5 versiones14.25 · 15.20 · 16.16 · 17.12 …
Exposición7 dDesde la divulgación, 12 nov 2026, 9:15 a. m.
Detección11 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Evaluación SSVC +1
Modificada
Explotación
Remediación
Monitoreo
Detectada +2
Verificada
12 nov 26
13 nov 26
16 nov 26
19 nov 26
12 nov 26
13 nov 26
15 nov 26
17 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Publicada CVE-2026-116314 divulgada · CVSS 8.8 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 12 nov 2026

A flaw in PostgreSQL's pg_restore tool lets a crafted archive from a non-plain archive provider run arbitrary code as the operating system user running pg_restore. An attacker can reach it remotely without logging in, but a user must take an action for the attack to succeed.

Affects PostgreSQL before 18.7, 17.12, 16.16, 15.20 and 14.25 when pg_restore reads a non-plain archive from an untrusted source. Fixed in 18.7, 17.12, 16.16, 15.20 and 14.25.

¿Qué significa?pg_restore does not validate non-plain archive formats, so a crafted archive can make it run arbitrary code as the operating system user running pg_restore.
¿Quién está afectado?Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20 and 14.25 are affected. Check the installed version with pg_restore --version. The issue involves pg_restore reading a non-plain archive format, not plain SQL dumps.
¿Qué hacer?Upgrade to the fixed release for your branch: 18.7, 17.12, 16.16, 15.20 or 14.25.
Descripción original del registro (PostgreSQL)

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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Victim runs pg_restore on an attacker-crafted archive.“victim runs pg_restore on an attacker-crafted archive”
02
Non-plain archive format is used with pg_restore.“allows a non-plain archive provider to execute arbitrary code”
¿Quién debe revisar?Teams running PostgreSQL 14 through 18 pg_restore on crafted non-plain archives, before 18.7, 17.12, 16.16, 15.20, or 14.25.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
PostgreSQL< 14.25
PostgreSQL≥ 15 < 15.20
PostgreSQL≥ 16 < 16.16
PostgreSQL≥ 17 < 17.12
PostgreSQL≥ 18 < 18.7
14.25
15
15.20
16
16.16
17
17.12
18
18.7
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
PostgreSQL
Corregida 14.25, 15.20, 16.16, 17.12, 18.7 — —
Versiones corregidas14.2515.2016.1617.1218.7
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
configurationvictim runs pg_restore on an attacker-crafted archivePostgreSQL
Referencias
Fabricantehttps://www.postgresql.org/support/security/CVE-2026-116314/

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.