CVE Watchtower

CVE-2026-129240org.geotools.xsd:gt-xsd-core XML External Entity (XXE) Reference

NVD

Vulnerability Summary

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: ```java 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
Severity Level
MEDIUM(5.3)
Published Date
Nov 17, 2026
Last Modified
Nov 17, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control.
The web server receives a URL or similar request from an upstream component and retrieves its contents, but does not sufficiently ensure that the request is being sent to the expected destination.
CVSS v3.1 Base Metrics — Score 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityNone
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • org.geotools.xsd:gt-xsd-core >= 35.0, <= 35.1
  • org.geotools.xsd:gt-xsd-core >= 34.0, <= 34.5
  • org.geotools.xsd:gt-xsd-core <= 33.6
Patched Versions
  • org.geotools.xsd:gt-xsd-core 35.2
  • org.geotools.xsd:gt-xsd-core 34.6
  • org.geotools.xsd:gt-xsd-core 33.7

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run org.geotools.xsd:gt-xsd-core and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 17, 2026Published
  • Nov 17, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new org.geotools.xsd:gt-xsd-core CVEsYou are reading CVE-2026-129240. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 24, 2026 14:01 UTC