Skip to main content

GeoServer EUVDEUVD-2026-139618

| CVE-2026-120705 HIGH
XML Injection (aka Blind XPath Injection) (CWE-91)
2026-11-30 security-advisories@github.com
8.6
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send unauthenticated WFS GetFeature request
  2. Delivery
    Inject xi:include via ID parameter
  3. Exploit
    Escape rid attribute, add FES elements
  4. Execution
    Parser resolves entity without resolver
  5. Persist
    Read local file or SSRF fetch
  6. Impact
    Exfiltrate content via error response

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization XPath query parameterization
Exploitation Conditions

Exploitation requires the WFS service to be enabled and the public GetFeature operation reachable by anonymous callers - the default GeoServer configuration, since the built-in urn:ogc:def:query:OGC-WFS::GetFeatureById stored query is exposed without authentication, custom stored query, or CreateStoredQuery rights. The local file read and outbound SSRF fetch occur regardless of configuration; however, returning the fetched/read content to the attacker via the 'Illegal property name' error response requires that a layer be published to anonymous users - otherwise the file is still read server-side but not echoed back. The limiting factors are therefore: files must be text and readable by the GeoServer process account, full exfiltration depends on anonymous-readable layers, and affected versions are gs-wfs-core <= 2.27.6, 2.28.0-2.28.5, 3.0.0-3.0.1 with gt-metadata <= 33.6, 34.0-34.5, 35.0-35.1. Mitigation per the vendor: restrict or disable WFS for anonymous users via service security, or disable WFS if not required; updating is the complete fix.

Impact

This is a genuine priority, not a high-CVSS-but-low-real-risk case. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N describes a remotely reachable, low-complexity, unauthenticated flaw with a scope change - consistent with the GHSA description of a single unauthenticated WFS request achieving arbitrary local text-file read and server-side request forgery (CWE-91 XML injection, plus CWE-611 XXE/XInclude and CWE-918 SSRF noted in the GHSA). The vuln.today decision label is 'this_week'. No EPSS score was supplied, so exploitation probability cannot be quantified. There is no CISA KEV listing: the only KEV reference is a catalog search URL for the CVE, not a confirmation of inclusion, so this is not confirmed active exploitation. No proof-of-concept or working exploit reference is provided - the GitHub PR link is the vendor fix diff, not exploit code - so no public exploit is identified at time of analysis. The signals are therefore coherent: a high-severity, easily reachable unauthenticated bug with full root-cause detail publicly documented in the advisory and patch, but without confirmed exploitation or a published PoC yet. The main nuance to verify is impact conditionality: full exfiltration of read content back to the attacker requires a layer published to anonymous users, whereas the file read and SSRF themselves occur regardless.

Exploit ScenarioDerived

An unauthenticated attacker sends a single WFS 2.0 GetFeature request invoking the built-in GetFeatureById stored query and places an xi:include (or external entity) inside the ID parameter, which is substituted into the XML template without escaping and parsed without GeoServer's entity resolver. The server then reads an attacker-chosen local text file or fetches an attacker-supplied HTTP/HTTPS URL (SSRF), and the fetched content is returned in the 'Illegal property name' error response when the target layer is anonymously published. No authentication, custom stored query, or CreateStoredQuery access is required; no public exploit is identified at time of analysis, but the advisory documents the full mechanism.

Act Now Prioritize within 24-48h. Why: In CISA KEV with patch available.
Exploited in the wild (CISA KEV) Patch available 21.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

Unauthenticated XML injection in GeoServer's built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById lets a remote caller read local text files readable by the GeoServer process and force the server to fetch arbitrary attacker-chosen HTTP/HTTPS URLs (SSRF), all through a single public GetFeature request with no custom stored query or CreateStoredQuery rights. Exfiltrated content is returned in the 'Illegal property name' error response when a layer is published to anonymous users; otherwise the file or URL is still read server-side but not echoed back. Affected are org.geoserver:gs-wfs-core up to 2.27.6, 2.28.0-2.28.5 and 3.0.0-3.0.1, together with org.geotools:gt-metadata up to 33.6, 34.0-34.5 and 35.0-35.1; fixes are published in 2.27.7/2.28.6/3.0.2 and 33.7/34.6/35.2. No public exploit identified at time of analysis.

RemediationAI

Upgrade to a fixed release: GeoServer 2.27.7, 2.28.6 or 3.0.2 (which pull org.geotools:gt-metadata 33.7, 34.6 or 35.2 respectively) - updating is the complete fix per the vendor, and the patch is published as PR https://github.com/geoserver/geoserver/pull/9928 with releases referenced from https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47. If an immediate upgrade is not possible, the vendor's stated mitigation is to restrict or disable the WFS service for anonymous users through GeoServer service security, or to disable WFS entirely if it is not required; note the trade-offs: restricting anonymous WFS access requires every WFS consumer to authenticate and also removes the anonymous-layer condition under which the fetched content is echoed, while disabling WFS breaks all WFS clients and any downstream services or portals that depend on the WFS endpoint. Note that the local file read and outbound HTTP/HTTPS fetch occur even when no layer is anonymously published, so these controls reduce exfiltration but do not address the underlying injection until the patched versions are applied.

Affected VersionsENISA

geoserver 35.0, < 35.2
geoserver < 33.7
geoserver 3.0.0, < 3.0.2
geoserver 2.28.0, < 2.28.6
geoserver < 2.27.7
geoserver 34.0, < 34.6

Affected Packages

euvd geoserver fix: 2.27.7, 2.28.6, 3.0.2, 33.7, 34.6, 35.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-91 (XML injection), reported by the vendor alongside CWE-611 and CWE-918. GeoServer's stored-query engine builds the GetFeatureById query from an XML template containing <fes:ResourceId rid='${ID}'/>, and StoredQuery.compile() substituted the caller-supplied ID token with plain string replacement rather than escaping it - quotes and angle brackets in the value could close the rid attribute and inject additional FES elements. The resulting document was then parsed with new Parser(new WFSConfiguration()) without the catalog-backed entity resolver used elsewhere in the same class, so XInclude directives and external entities were resolved through ordinary URI access: xi:include yields local file disclosure, and external entity resolution yields server-side request forgery against attacker-selected HTTP/HTTPS endpoints. The upstream fix in PR 9928 routes stored-query parsing through the GeoServer entity resolver (with a null-safe path for the built-in DEFAULT query that has no catalog), and the GeoTools PreventLocalEntityResolver now also checks redirects, closing the redirect-based bypass; the same PR hardens DropStoredQuery so a definition that can no longer be parsed can still be removed by name. Deployment relevance: the built-in query is exposed through the public GetFeature operation by default, so no authentication is needed (CVSS vector PR:N), while the confidentiality-only impact (C:H/I:N/A:N, scope changed) reflects data theft and SSRF rather than data modification. A CISA KEV catalog lookup reference appears in the supplied references, but active exploitation is not confirmed in the supplied data.

Know when Geoserver gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.6 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
ENISA EUVD HIGH
vuln.today AI 8.6 HIGH

Remote unauthenticated request against default config (AV:N/AC:L/PR:N/UI:N); XXE/SSRF reaches resources beyond the component's authority (S:C) exposing file/SSRF content (C:H) with no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
Patch available
Nov 30, 2026 - 19:20 EUVD
Added to CISA KEV
Nov 30, 2026 - 18:34 CISA
CVE Published
Nov 30, 2026 - 18:18 cve.org
HIGH 8.6

DescriptionCVE.org

GeoServer is an open source server that allows users to share and edit geospatial data. Prior to "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and prior to "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2, GeoServer exposes the built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById through the public GetFeature operation. The stored query substituted the caller's ID parameter into an XML template without escaping, then parsed the result without GeoServer's entity resolver. An unauthenticated caller could inject XML, including an xi:include, into the query. This issue has been patched in "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2.

Technical POC Analysis

CWE-91 (XML Injection), with CWE-611 and CWE-918 as downstream consequences.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

GeoServer, a widely used open-source geospatial server, contains a high-severity unauthenticated vulnerability (CVE-2026-120705) that could allow remote attackers to read sensitive files or perform SSRF, potentially exposing internal data or systems. Organizations using affected GeoServer versions face increased risk of data breaches and downstream attacks, warranting immediate leadership attention and remediation.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Model

5 threats: Information Disclosure, Elevation of Privilege, Tampering and 1 more

5-step attack chain with trust boundaries and controls

Full threat model - attack chain, trust boundaries, controls per stage and evidence - is part of the Pro and Business plans.

Threat Intelligence Overview

EPSS Score
21.2%
Top 2% exploitable
Prevalence
Medium
widely used open-source geospatial server, common in GIS/government but domain-specific
Threat Intel
1
1 source
Social Media
67
Sightings
Data Quality
9 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV Yes
Public POC No
EPSS 21.2%
Patch available Yes
Active threat Yes
Deciding rule
In CISA KEV with patch available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Active
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

119
Low Medium High Critical
KEV: +50
EPSS: +21
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: +5

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

CVE-2024-36401 CRITICAL POC
9.8 Jul 01

GeoServer is an open source server that allows users to share and edit geospatial data. Rated critical severity (CVSS 9.

CVE-2025-58360 CRITICAL POC
9.8 Nov 25

Unauthenticated XML External Entity processing in GeoServer's WMS GetMap endpoint allows remote attackers to read arbitr

CVE-2026-129243 HIGH POC
8.8 Nov 30

Unauthenticated remote users can bypass GeoServer service-level security and invoke operations that should require an ad

CVE-2023-35042 CRITICAL
9.8 Jun 12

GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via java.lang.Runtime.getRuntime(

CVE-2025-30220 CRITICAL POC
9.1 Jun 10

XML External Entity (XXE) injection in GeoTools' gt-xsd-core module lets remote, unauthenticated attackers who submit an

CVE-2023-43795 CRITICAL POC
9.8 Oct 25

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. Rated c

CVE-2023-25157 CRITICAL POC
9.8 Feb 21

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. Rated c

CVE-2023-5786 HIGH POC
8.8 Oct 26

A vulnerability was found in GeoServer GeoWebCache up to 1.15.1. Rated high severity (CVSS 8.8), this vulnerability is r

CVE-2024-29198 HIGH POC
7.5 Jun 10

GeoServer contains a Server-Side Request Forgery (SSRF) vulnerability in the Demo request endpoint (TestWfsPost servlet)

CVE-2024-23634 MEDIUM POC
6.0 Mar 20

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. Rated m

CVE-2025-27505 MEDIUM POC
5.3 Jun 10

GeoServer is an open source server that allows users to share and edit geospatial data. It is possible to bypass the def

CVE-2024-38524 MEDIUM POC
5.3 Jun 10

GeoServer is an open source server that allows users to share and edit geospatial data. org.geowebcache.GeoWebCacheDispa

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy