CVE-2026-116316
PostgreSQL arbitrary SQL execution via pg_temp type planting
A low-privilege attacker on the network can run arbitrary SQL as a caller by planting a type in pg_temp.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Publicada | CVE-2026-116316 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 |
PostgreSQL can be attacked over the network by a user with low-privilege access, without any action from the victim, to run arbitrary SQL as the caller of a security-restricted operation. The attacker plants a domain, enum, or range type in pg_temp that a session later uses when it runs a query with an unqualified type name.
Affects PostgreSQL 14 through 18 before the fixed releases, when a victim session runs a security-restricted operation and then a regular query with unqualified type names. Fixed in 18.7, 17.12, 16.16, 15.20, and 14.25.
Descripción original del registro (PostgreSQL)
Improper protection of alternate path in PostgreSQL security-restricted operations allows an object creator to execute arbitrary SQL as the operation's caller, via a domain, enum, or range type created in pg_temp. The victim session must later run a query containing an unqualified type name, e.g. "SELECT '1'::bigint"; autovacuum and other common security-restricted operation users do not do so, so they are unaffected. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
PostgreSQL |
Corregida | 14.25, 15.20, 16.16, 17.12, 18.7 | — | — |
14.2515.2016.1617.1218.7Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://www.postgresql.org/support/security/CVE-2026-116316/Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
