The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-30220

CVE-2025-30220: GeoTools XXE Vulnerability

CVE-2025-30220 is an XML External Entity (XXE) vulnerability in GeoTools that affects XML schema parsing in gt-xsd-core. Attackers can exploit this flaw when processing external XML schemas. This article covers technical details, affected versions, impact, and mitigation steps.

Updated: January 22, 2026

CVE-2025-30220 Overview

CVE-2025-30220 is a critical XML External Entity (XXE) vulnerability affecting GeoServer, GeoTools, and GeoNetwork—widely deployed open source platforms for sharing and editing geospatial data. The vulnerability exists in the GeoTools Schema class, which uses the Eclipse XSD library to represent schema data structures. The gt-xsd-core Schemas class fails to properly use the EntityResolver provided by the ParserHandler, even when one is configured, enabling attackers to exploit XXE when processing XML documents that reference external XML schemas.

This flaw also impacts users of the gt-wfs-ng DataStore where the ENTITY_RESOLVER connection parameter was not being utilized as intended, further expanding the attack surface for organizations relying on Web Feature Service (WFS) functionality.

Critical Impact

Remote attackers can exploit this XXE vulnerability to read sensitive files from affected servers and cause denial of service conditions without authentication, potentially exposing confidential geospatial data and disrupting critical mapping infrastructure.

Affected Products

  • GeoTools versions prior to 33.1, 32.3, 31.7, and 28.6.1
  • GeoServer versions prior to 2.27.1, 2.26.3, and 2.25.7
  • GeoNetwork versions prior to 4.4.8 and 4.2.13

Discovery Timeline

  • 2025-06-10 - CVE-2025-30220 published to NVD
  • 2025-08-26 - Last updated in NVD database

Technical Details for CVE-2025-30220

Vulnerability Analysis

This XXE vulnerability stems from improper configuration of the XML parsing components within the GeoTools library. When the gt-xsd-core module processes XML documents containing references to external schemas, the Schemas class does not honor the EntityResolver that may have been configured in the ParserHandler. This architectural flaw means that even when administrators have properly configured entity resolution restrictions, the protection is bypassed during schema processing.

The vulnerability enables two primary attack scenarios: confidential data exfiltration through external entity references to local files, and denial of service through entity expansion attacks or references to unreachable external resources. Since GeoServer and GeoNetwork are commonly deployed as internet-facing services for sharing geospatial data, the network-accessible attack vector significantly increases the risk exposure.

The gt-wfs-ng DataStore component compounds this issue by not properly utilizing the ENTITY_RESOLVER connection parameter, meaning WFS endpoints that rely on this configuration are also vulnerable despite ostensibly being protected.

Root Cause

The root cause is CWE-611: Improper Restriction of XML External Entity Reference. The gt-xsd-core Schemas class implementation fails to properly propagate EntityResolver configurations to the underlying Eclipse XSD library during XML parsing operations. This results in the XML parser accepting and processing external entity declarations even when security controls are intended to prevent such behavior.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can craft malicious XML documents containing external entity references and submit them to any endpoint that processes XML through the affected GeoTools components. When the vulnerable parser processes these documents, it will resolve external entities, potentially reading local files from the server's filesystem or making outbound network connections to attacker-controlled resources.

The vulnerability mechanism involves crafting XML documents with DOCTYPE declarations containing external entity references. When these documents are processed by affected GeoServer, GeoTools, or GeoNetwork instances, the parser resolves the entities without proper restriction. This can be used to exfiltrate files like /etc/passwd, configuration files containing credentials, or cause denial of service by referencing extremely large files or slow-responding external URLs. For detailed technical information, see the GeoTools Security Advisory and GeoServer Security Advisory.

Detection Methods for CVE-2025-30220

Indicators of Compromise

  • Unusual outbound network connections from GeoServer/GeoNetwork instances to external hosts
  • Web server logs showing XML requests with suspicious DOCTYPE declarations or ENTITY references
  • Error logs containing references to file access attempts for system files like /etc/passwd or Windows system files
  • Unexplained timeouts or resource exhaustion in XML processing services

Detection Strategies

  • Monitor and alert on XML requests containing <!DOCTYPE or <!ENTITY declarations in request bodies
  • Implement network segmentation monitoring to detect GeoServer instances making unexpected outbound connections
  • Deploy Web Application Firewall (WAF) rules to inspect and block XML payloads with external entity patterns
  • Review application logs for XML parsing errors that may indicate exploitation attempts

Monitoring Recommendations

  • Enable detailed logging for XML processing operations in GeoServer and GeoNetwork configurations
  • Set up alerting for any file access patterns from the GeoServer process that target sensitive system files
  • Monitor CPU and memory utilization on GeoServer hosts to detect entity expansion denial of service attempts
  • Implement network traffic analysis to identify data exfiltration patterns from geospatial infrastructure

How to Mitigate CVE-2025-30220

Immediate Actions Required

  • Update GeoTools to version 33.1, 32.3, 31.7, or 28.6.1 depending on your version branch
  • Upgrade GeoServer to version 2.27.1, 2.26.3, or 2.25.7 as appropriate for your deployment
  • Upgrade GeoNetwork to version 4.4.8 or 4.2.13
  • Review and restrict network access to GeoServer instances while patching is in progress
  • Audit logs for evidence of prior exploitation attempts

Patch Information

Security patches have been released across all affected product lines. The fixes ensure that the EntityResolver configuration is properly utilized during XML schema processing. Organizations should update to the following fixed versions:

  • GeoTools: 33.1, 32.3, 31.7, or 28.6.1
  • GeoServer: 2.27.1, 2.26.3, or 2.25.7
  • GeoNetwork: 4.4.8 or 4.2.13

For detailed patch information, review the vendor security advisories: GeoTools Advisory, GeoServer Advisory, and GeoNetwork Advisory.

Workarounds

  • Implement WAF rules to block XML requests containing external entity declarations
  • Place GeoServer instances behind a reverse proxy that sanitizes XML input
  • Restrict network egress from GeoServer hosts to prevent data exfiltration
  • Consult the GeoServer Production Configuration Guide for additional hardening recommendations
bash
# Example: Restrict outbound connections from GeoServer using iptables
# Limit egress traffic to only required services while patching
iptables -A OUTPUT -m owner --uid-owner geoserver -j DROP
# Allow only specific required outbound connections
iptables -I OUTPUT -m owner --uid-owner geoserver -d trusted-host.example.com -j ACCEPT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechGeotools

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability6.80%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-611
  • Technical References
  • GeoServer Production Configuration Guide

  • GitHub Security Advisory GHSA-826p-4gcg-35vw
  • Vendor Resources
  • GitHub Pull Request #8757

  • GitHub Pull Request #8803

  • GitHub Pull Request #8812

  • GitHub Security Advisory GHSA-2p76-gc46-5fvc

  • GitHub Security Advisory GHSA-jj54-8f66-c5pc
  • Related CVEs
  • CVE-2024-36404: GeoTools XPath Expression RCE Vulnerability

  • CVE-2023-25158: GeoTools JDBC SQL Injection Vulnerability

  • CVE-2022-24818: GeoTools JNDI RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English