llamaCVEVulnerability Intelligence
/
PostgreSQL

CVE-2026-6460

PostgreSQL remote code execution in type handling during DDL

Any user who can create objects can run arbitrary code as the database's operating system user.

Specific setups onlyParche disponibletype confusion
Descargar PNG JSON
CVSS 3.1
8.8
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónExploit públicoSSVC: none · no figura en CISA KEV
Exploits públicos21 fuente · 1 confirmado en GitHub
Parche5 versiones14.25 · 15.20 · 16.16 · 17.12 …
Exposición6 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
Exploit en GitHub
Remediación
Monitoreo
Detectada +2
Fuente: PoC-in-GitHub
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-6460 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 Fuente: PoC-in-GitHub Registro visto por primera vez en PoC-in-GitHub
Explotación Exploit en GitHub chor4o/CVE-2026-6460-POC
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Type confusion in PostgreSQL allows an object creator to execute arbitrary code as the operating system user running the database, via ALTER ... SET DATA TYPE primarily. Other DDL attack routes exist, such as "ALTER TABLE ... ADD COLUMN; ROLLBACK; ALTER TABLE ... ADD COLUMN". The system had inadequate tracking of typed values, and values were not self-identifying. Stale values could appear in data dictionary entries, PL/pgSQL variables, and many other parts of the system. PostgreSQL Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Affects PostgreSQL releases before 18.7, 17.12, 16.16, 15.20 and 14.25, where an attacker with permission to create objects in a schema can run code as the database's operating system user. Fixed in those releases.

¿Qué significa?A type confusion flaw after ALTER ... SET DATA TYPE lets an attacker execute arbitrary code as the operating system user running the database.
¿Quién está afectado?PostgreSQL versions before 18.7, 17.12, 16.16, 15.20 and 14.25 are affected. The attacker needs permission to create objects, temporary or non-temporary, in at least one schema. To check an installation, run SELECT version(); in psql and compare the release with the listed versions.
¿Qué hacer?Upgrade to the fixed release for the installed major version: 18.7, 17.12, 16.16, 15.20 or 14.25.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Attacker has permission to create objects (temporary or non-temporary objects in at least one schema).“attacker has permission to create objects (temporary objects or non-temporary objects in at least one schema)”
02
Affected PostgreSQL versions are those before 18.7, 17.12, 16.16, 15.20, and 14.25.“PostgreSQL Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.”
¿Quién debe revisar?Teams running PostgreSQL 14.x through 18.x before 18.7, 17.12, 16.16, 15.20 or 14.25, where users have permission to create objects.
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:L
NingunoBajosAltos
InteracciónUI:N
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

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
chor4o/CVE-2026-6460-POC · slabbdev/postgresql-type-confusion-cve-2026-6460
2
Ver los 2 repositorios de GitHub (1 con exploit confirmado)
chor4o/CVE-2026-6460-POCexploit
slabbdev/postgresql-type-confusion-cve-2026-6460

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Registro
configurationattacker has permission to create objects (temporary objects or non-temporary objects in at least one schema)PostgreSQL
Referencias
Fabricantehttps://www.postgresql.org/support/security/CVE-2026-6460/
Exploithttps://github.com/chor4o/CVE-2026-6460-POC
Exploithttps://github.com/slabbdev/postgresql-type-confusion-cve-2026-6460

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