NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
CRITICAL severity

GeoTools has XML External Entity (XXE) Processing Vulnerability in XSD schema handlingGHSA-826p-4gcg-35vw

CRITICAL

GHSA-826p-4gcg-35vw is a critical-severity (CVSS 9.9) vulnerability in org.geotools:gt-xsd-core. A fix is available for org.geotools:gt-xsd-core — see the affected versions and patch details below.

Published
Updated
Affected
8 pkgs
Patched
8 / 8
Exploits
None indexed
Exploitation data as of Feb 4, 2026 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

8 pkgs affected
☕org.geotools:gt-xsd-core☕org.geotools:gt-xsd-core☕org.geotools:gt-xsd-core☕org.geotools:gt-wfs-ng☕org.geotools:gt-wfs-ng☕org.geotools:gt-wfs-ng☕org.geotools:gt-xsd-core☕org.geotools:gt-wfs-ng

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Summary

GeoTools Schema class use of Eclipse XSD library to represent schema data structure is vulnerable to XML External Entity (XXE) exploit.

Impact

This impacts whoever exposes XML processing with gt-xsd-core involved in parsing, when the documents carry a reference to an external XML schema. The gt-xsd-core Schemas class is not using the EntityResolver provided by the ParserHandler (if any was configured).

This also impacts users of gt-wfs-ng DataStore where the ENTITY_RESOLVER connection parameter was not being used as intended.

Resolution

GeoTools API change allows EntityResolver to be supplied to the following methods:

Schemas.parse( location, locators, resolvers, uriHandlers, entityResolver);
Schemas.findSchemas(Configuration configuration, EntityResolver entityResolver);

With this API change the gt-wfs-ng WFS DataStore ENTITY_RESOLVER parameter is now used.

Reference

  • GHSA-jj54-8f66-c5pc: Describes the impact of the gt-xsd-core vulnerability on the GeoServer WFS protocol, resulting in both Service Side Request Forgery (SSRF) and Out-of-Band (OOB) data exfiltration of local files.

  • GHSA-2p76-gc46-5fvc: Describes the impact of the gt-wfs-ng and gt-xsd-core vulnerability on the GeoNetwork WFS Index functionality.

Affected Packages

8 total 8 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.geotools:gt-xsd-core≥ 33.0&&< 33.133.1org.geotools:gt-xsd-core:33.1
☕Mavenorg.geotools:gt-xsd-core≥ 32.0&&< 32.332.3org.geotools:gt-xsd-core:32.3
☕Mavenorg.geotools:gt-xsd-core≥ 29.0&&< 31.731.7org.geotools:gt-xsd-core:31.7
☕Mavenorg.geotools:gt-wfs-ng≥ 33.0&&< 33.133.1org.geotools:gt-wfs-ng:33.1
☕Mavenorg.geotools:gt-wfs-ng≥ 32.0&&< 32.332.3org.geotools:gt-wfs-ng:32.3
☕Mavenorg.geotools:gt-wfs-ng≥ 29.0&&< 31.731.7org.geotools:gt-wfs-ng:31.7

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.geotools:gt-xsd-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.geotools:gt-xsd-core to 33.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-826p-4gcg-35vw is resolved across your whole dependency graph.

  3. Workarounds

    Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.

Frequently Asked Questions

### Summary GeoTools Schema class use of Eclipse XSD library to represent schema data structure is vulnerable to XML External Entity (XXE) exploit. ### Impact This impacts whoever exposes XML processing with ``gt-xsd-core`` involved in parsing, when the documents carry a reference to an external XML schema. The ``gt-xsd-core`` Schemas class is not using the EntityResolver provided by the ParserHandler (if any was configured). This also impacts users of ``gt-wfs-ng`` DataStore where the ENTITY_RESOLVER connection parameter was not being used as intended. ### Resolution GeoTools API change
O3 Security · Impact-Aware SCA

Is GHSA-826p-4gcg-35vw in your dependencies?

Find it across Maven, including transitive dependencies.

GeoTools has XML External Entity (XXE) Processing…