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
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:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityNone
AvailabilityNone
Affected & Patched 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
- 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.
- Check whether you run org.geotools.xsd:gt-xsd-core and which version.
- 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 alertsExternal References
Data last checked: Nov 24, 2026 14:01 UTC