llamaCVEVulnerability Intelligence
/
MapServer

CVE-2026-77328

MapServer SQL injection in PostgreSQL JOIN support

An attacker can alter PostgreSQL queries to read unrelated database records over the network without logging in.

Texto original en inglés · Ver en español

Parche disponibleSQL injection
Descargar PNG JSON
CVSS 4.0
6.9
Media
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N Fuente: CNA
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión8.6.5
Exposición1 dDesde la divulgación, 20 nov 2026, 2:11 p. m.
Detección4 minDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 4.0 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Esto lo arregla la rutina de siempre.Si haces parches mensuales, ya estás cubierto.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +2
02:11 p. m.
02:16 p. m.
02:11 p. m.
08:12 p. m.
02:13 a. m.
08:15 a. m.
02:16 p. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-77328 divulgada · CVSS 6.9 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 20 nov 2026

In MapServer, when PostgreSQL JOIN support is enabled, an attacker who can control a source feature attribute can inject SQL that alters the intended query, returning unintended rows and JOIN attributes and potentially exposing data from unrelated PostgreSQL records. The flaw can be reached remotely over the network without logging in and without any user action.

Descripción original del registro (GitHub_M)

MapServer is a system for developing web-based GIS applications. Prior to 8.6.5, MapServer's PostgreSQL JOIN implementation in src/mappostgresql.c copies the source layer attribute selected by JOIN FROM into joininfo->from_value and embeds it without parameterization or escaping into a dynamically generated PostgreSQL query executed by PQexec(). When PostgreSQL JOIN support is enabled, an attacker who can control that source feature attribute can inject quote characters and SQL operators that alter the intended WHERE predicate. This second-order injection can cause unintended rows and JOIN attributes to be returned, potentially exposing information from unrelated PostgreSQL records. This issue is fixed in version 8.6.5.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:L
AltoBajoNinguno
Integridad (posterior)SI:L
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
MapServer< 8.6.5
8.6.5
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
MapServer
Corregida 8.6.5 — —
Versiones corregidas8.6.5
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/MapServer/MapServer/security/advisories/GHSA-m3xh-ccmh-x8rw
Otrahttps://github.com/MapServer/MapServer/pull/7546
Otrahttps://github.com/MapServer/MapServer/pull/7566
Otrahttps://github.com/MapServer/MapServer/commit/05babb88314b8f022eb47a3ab1a00eb37f92085f
Otrahttps://github.com/MapServer/MapServer/commit/a39a299a03a767dd966bb40caf044539e7813bce
Otrahttps://github.com/MapServer/MapServer/releases/tag/rel-8-6-5

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