llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Maven · org.geotools.xsd:gt-xsd-core

GHSA-MGJV-WP78-CCRQ

Local file probing via file:// schemaLocation during strict schema validation

Sin parche publicado
Descargar PNG JSON
CVSS 3.1
5.3
Media
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición3 dDesde la divulgación, 17 nov 2026, 10:19 a. m.
Detección1 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
17 nov 26
18 nov 26
21 nov 26
17 nov 26
18 nov 26
19 nov 26
20 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-MGJV-WP78-CCRQ divulgada · CVSS 5.3 (GitHub)
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

When GeoTools validates an XML document, an `xsi:schemaLocation` containing a `file://` URI was opened without passing through the configured `EntityResolver`. An application that relies on a resolver such as `PreventLocalEntityResolver` to block local file access could be used to probe the local file system.

Impact

Differences in the resulting errors show whether a local file exists and whether it is well-formed XML. File contents are not disclosed.

Applications that parse or validate untrusted XML with validation enabled are affected.

Details

`Schemas.validateImportsIncludes()` walked the schema locations referenced by a document and opened each one directly, without passing it through the `EntityResolver` set on the `Parser`. The resolver was therefore not applied to the top level schema location during validation.

Mitigation

Do not validate untrusted XML documents, parsing them with validation and strict mode disabled:

Parser parser = new Parser(configuration);
parser.setValidating(false);
parser.setStrict(false);
parser.setEntityResolver(PreventLocalEntityResolver.INSTANCE);
Object result = parser.parse(input);

Avoid calling `Parser.validate(...)` on untrusted input.

Resolution

Every schema location visited during validation now goes through the entity resolver, and XInclude is disabled the same way for SAX and DOM parser factories.

  • GeoTools 33.7, 34.6, 35.2
References
  • https://osgeo-org.atlassian.net/browse/GEOT-7975
  • https://github.com/geoserver/geoserver/security/advisories/GHSA-rg89-jmrw-x26f
Vector CVSS 3.1

Desglose de métricas

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

Rangos afectados

Afectada Corregida
org.geotools.xsd:gt-xsd-core≤ 33.6
org.geotools.xsd:gt-xsd-core≥ 34.0 ≤ 34.5
org.geotools.xsd:gt-xsd-core≥ 35.0 ≤ 35.1
33.6
34.0
34.5
35.0
35.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Mavenorg.geotools.xsd:gt-xsd-core
Sin parche — — —
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/geotools/geotools/security/advisories/GHSA-mgjv-wp78-ccrq

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