Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend unauthenticated WFS GetFeature request
-
DeliveryInject xi:include via ID parameter
-
ExploitEscape rid attribute, add FES elements
-
ExecutionParser resolves entity without resolver
-
PersistRead local file or SSRF fetch
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
3DescriptionCVE.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.
Articles & Coverage 1
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
GeoServer is an open source server that allows users to share and edit geospatial data. Rated critical severity (CVSS 9.
Unauthenticated XML External Entity processing in GeoServer's WMS GetMap endpoint allows remote attackers to read arbitr
Unauthenticated remote users can bypass GeoServer service-level security and invoke operations that should require an ad
GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via java.lang.Runtime.getRuntime(
XML External Entity (XXE) injection in GeoTools' gt-xsd-core module lets remote, unauthenticated attackers who submit an
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. Rated c
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. Rated c
A vulnerability was found in GeoServer GeoWebCache up to 1.15.1. Rated high severity (CVSS 8.8), this vulnerability is r
GeoServer contains a Server-Side Request Forgery (SSRF) vulnerability in the Demo request endpoint (TestWfsPost servlet)
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. Rated m
GeoServer is an open source server that allows users to share and edit geospatial data. It is possible to bypass the def
GeoServer is an open source server that allows users to share and edit geospatial data. org.geowebcache.GeoWebCacheDispa
EUVD-2026-139618
NVD
CVE.org
CISA KEV
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB