llamaCVEVulnerability Intelligence
/
PostgreSQL

CVE-2026-116313

PostgreSQL code execution in vacuumdb via untrusted search path

A database owner can run arbitrary SQL as the user who runs vacuumdb by shadowing operators it depends on.

Specific setups onlyParche disponibleuntrusted search path
Descargar PNG JSON
CVSS 3.1
7.2
Alta
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión18.7
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-116313 divulgada · CVSS 7.2 (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

PostgreSQL's `vacuumdb --missing-stats-only` lets a database owner run arbitrary SQL as the database user who runs `vacuumdb`, by shadowing operators that the tool's catalog query depends on. Only PostgreSQL major version 18 releases before the fix are affected, and an attacker must first hold database-owner access over the network, with no action needed from a user.

¿Qué significa?A database owner can run arbitrary SQL as the operating-system database user that runs vacuumdb. This happens when a victim runs vacuumdb with --missing-stats-only against a database the attacker owns.
¿Quién está afectado?PostgreSQL 18 minor versions before 18.7 are affected; versions before 18 are unaffected. The exposed setup is running vacuumdb with --missing-stats-only against a database owned by someone else. To check the version, run postgres --version or select version() in psql.
¿Qué hacer?Upgrade PostgreSQL 18 to version 18.7 or later. No vendor patch IDs or workaround are listed in the checked facts.
Descripción original del registro (PostgreSQL)

Untrusted search path in PostgreSQL vacuumdb allows a database owner to execute arbitrary SQL as the database user running vacuumdb, via shadowing operators used in the --missing-stats-only catalog query. The pg_upgrade documentation recommends an affected vacuumdb invocation. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
PostgreSQL 18 minor versions before 18.7 are affected; versions before 18 are unaffected.“Within major version 18, minor versions before PostgreSQL 18.7 are affected.”
02
Attacker owns the database and a victim runs vacuumdb with --missing-stats-only against that database.“victim runs vacuumdb with --missing-stats-only against that database”
¿Quién debe revisar?Teams running PostgreSQL 18 before 18.7 that run vacuumdb with --missing-stats-only, including pg_upgrade follow-up steps.
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:H
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
PostgreSQL≥ 18 < 18.7
18
18.7
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
PostgreSQL
Corregida 18.7 — —
Versiones corregidas18.7
Explotación

Arsenal público

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

Registro
configurationattacker owns the database; victim runs vacuumdb with --missing-stats-only against that databasePostgreSQL
Referencias
Fabricantehttps://www.postgresql.org/support/security/CVE-2026-116313/

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