CVE-2026-120705: GeoServer WFS GetFeatureById XML Injection — Unauthenticated Local File Read and SSRF, Chained to Remote Code Execution

·

◈ Table of Contents

• Threat Actor Profile • Intrusion / Disclosure Timeline • Initial Access • Technical Deep Dive • Lateral Movement / Post-Exploitation • C2 Infrastructure • DFIR Investigation Steps • Indicators of Compromise • Detection & Hunt Queries • MITRE ATT&CK Mapping • Mitigation / Hardening • Sources & References
👤

Threat Actor Profile

PHASE 01 / 12

No actor is named — neither the GeoServer advisory GHSA-39mw-5chv-jh47 nor the CISA KEV entry names a group, country, campaign or malware family. Both establish that the flaw is being exploited in the wild, which is materially different from "vulnerable". The picture is consistent with an unattributed, opportunistic exploitation wave driven by automated reconnaissance against internet-facing GeoServer instances.

AttributeAssessment
Known aliasesNone published — absent from every source reviewed.
Attribution confidenceUnattributed — exploitation confirmed, operator unknown.
OriginUnknown — no geographic, linguistic or infrastructural indicators.
First observedOn or before 27 November 2026 (KEV listing); advisory public 23 November 2026.
TargetingInternet-exposed GeoServer on the affected gs-wfs-core / gt-metadata version lines, WFS reachable, at least one layer published to anonymous users.
Ransomware linkageUnknown — CISA records knownRansomwareCampaignUse as Unknown. Not an all-clear: the same entry documents an unauthenticated RCE chain.
Forensics triageNo — not required for this entry.
Likely objectiveReconnaissance and credential harvesting via SSRF and local file read, chaining to CVE-2026-129243 for unauthenticated RCE.
A
What the attacker's reconnaissance needs to find
Target Profile
The stored query ships built in to every GeoServer install, so the attacker needs no custom stored query, no CreateStoredQuery access and no authentication.
  • 1Reachability. WFS must answer on /geoserver/wfs, /geoserver/ows or /wfs from the internet.
  • 2Anonymous layer publication. Per the advisory, fetched content is echoed in the Illegal property name error only where a layer is published to anonymous users. Without that, the server still reads the file server-side — a blind read and a blind SSRF.
  • 3Process privileges. The read is bounded by the GeoServer process account. In a root container, that boundary is very wide.
  • 4Chain partners. RCE also needs the companion CVEs unpatched — CISA records CVE-2026-120705 chaining with CVE-2026-129244, CVE-2026-129243, CVE-2026-129245 and CVE-2026-129242.
📅

Intrusion / Disclosure Timeline

PHASE 02 / 12

The window between public disclosure and KEV listing for this CVE was four days — the single most important fact on the timeline. The flaw was being exploited before the federal remediation clock had started, and that clock has since expired.

  • 123 November 2026 — Vendor advisory published. GeoServer advisory GHSA-39mw-5chv-jh47 goes public, tracked as GEOS-12199 (GeoServer) and GEOT-7938 (GeoTools), fix in pull request #9928. Reporters Quikko and Crypto-Cat, finder nteusink, remediation developer axl8713. The same date carries the GeoServer vulnerability notice at geoserver.org/vulnerability/2026/11/23/cve-update.html.
  • 227 November 2026 — CISA adds the CVE to KEV. The catalog lists CVE-2026-120705 against vendor OSGeo, product GeoServer, with dateAdded 2026-11-27, dueDate 2026-11-30, knownRansomwareCampaignUse Unknown and forensicsTriage No. The KEV description states the flaw reads local text files or fetches attacker-specified HTTP/HTTPS URLs via a crafted ID parameter in the WFS 2.0 GetFeatureById stored query, and chains with CVE-2026-129244, CVE-2026-129243, CVE-2026-129245 and CVE-2026-129242 for unauthenticated remote code execution. The companion CVE-2026-129243 is listed in KEV the same day with the same deadline.
  • 330 November 2026 — Remediation deadline expires. The KEV dueDate passes. Required action is to apply vendor mitigations per CISA BOD 26-04, Prioritizing Security Updates Based on Risk, with the associated Forensics Triage Requirements; for cloud services, follow BOD 26-04 guidance or discontinue use of the product if mitigations are unavailable.
  • 430 November 2026 — NVD publishes the record. NVD publishes CVE-2026-120705 at 18:18 UTC with CWE-91 (XML Injection), status Analyzed. The CVSS 3.1 base score of 8.6 HIGH is carried on the CNA record, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N. The NVD description states the stored query substituted the caller's ID parameter into an XML template without escaping, then parsed the result without GeoServer's entity resolver.
  • 51 December 2026 — CyberHawk research run. Threat-intel run 20261201-134500-5d0225 selects CVE-2026-120705 as the strongest non-duplicate KEV candidate for publication.
DateEventSource
2026-11-23GHSA-39mw-5chv-jh47 published; GEOS-12199 / GEOT-7938; fix PR #9928Vendor advisory
2026-11-27CISA KEV dateAdded; CVE-2026-129243 listed the same dayCISA KEV
2026-11-30KEV dueDate / BOD 26-04 remediation deadline expiresCISA KEV
2026-11-30NVD publishes the record — CWE-91, CVSS 8.6 HIGHNVD / CVE.org CNA
2026-12-01CyberHawk research run selects this CVE for publicationCyberHawk

The disclosure-to-KEV interval is your detection lead time. Exploitation of this family typically follows the public advisory within days, because the payload is a single parameter in a GET request that any vulnerability scanner can generate. If your log retention is shorter than four days, you have already lost the ability to prove or disprove exploitation.

🔓

Initial Access

PHASE 03 / 12

The initial access vector is a single unauthenticated HTTP GET request to the GeoServer WFS service. The specific vector is XML injection into the ID parameter of the WFS 2.0 GetFeatureById stored query — an OGC filter substitution that reaches the XML parser without escaping. Per the advisory, no authentication, no custom stored query and no CreateStoredQuery access is required: the stored query is built into every GeoServer distribution, so no administrator misconfiguration is needed for the endpoint to exist. If WFS is reachable, this is reachable.

1
The request shape
Initial Access
A legitimate GetFeatureById request asks the server for one feature by identifier. The malicious variant keeps the same endpoint, service and stored query, changing only the ID value — injecting XML the server then parses as part of its own template.
Request anatomy — the parameter that carries the payload
# Legitimate shape: SERVICE=WFS, the built-in stored query, and a plain feature ID GET /geoserver/wfs?service=WFS&version=2.0.0&request=GetFeature&storedQueryId=urn:ogc:def:query:OGC-WFS::GetFeatureById&id= # Malicious shape: identical except the ID value is now XML GET /geoserver/wfs?service=WFS&version=2.0.0&request=GetFeature&storedQueryId=urn:ogc:def:query:OGC-WFS::GetFeatureById&id=file:///etc/passwd" parse="text"/> # The href scheme decides the outcome: # file:// -> read a local text file the GeoServer process can access # http:// -> force the server to fetch an attacker-chosen URL (SSRF) # https:// -> same, over TLS
parameter — substituted into an XML template without escaping.
Vector elementDetail
Protocol / methodHTTP GET over TCP/443 (or plain HTTP where published) — no side channel, no file upload, no authenticated session.
Endpoint/geoserver/wfs, /geoserver/ows or /wfs depending on deployment.
Service operationWFS → GetFeature with storedQueryId=urn:ogc:def:query:OGC-WFS::GetFeatureById.
Payload carrierThe id
Privileges requiredNone — CVSS PR:N, UI:N.
ComplexityLow — CVSS AC:L; a single request suffices.
ScopeChanged — CVSS S:C; the flaw crosses the trust boundary from the requester into the server's own file and network context.
Confidentiality impactHigh — local file contents and SSRF response bodies.
Integrity / availability impactNone in isolation — CVSS I:N, A:N. Integrity impact arrives through the chained remote code execution path.
2
What the attacker gets from one request
Impact
The advisory describes two distinct outcomes per request, and defenders routinely conflate them. They have different detection signatures and different remediation urgency.
  • 1Local file read. The server reads a local text file accessible to the GeoServer process. Per the advisory, contents are returned to the caller only where a layer is published to anonymous users; otherwise the file is still read server-side but the contents are not returned — a blind read that still justifies treating reachable secrets as compromised.
  • 2SSRF. The server fetches an attacker-chosen HTTP or HTTPS URL. Per the advisory, the fetched content is returned in the Illegal property name error message when a layer is published to anonymous users. This reaches internal-only hosts, loopback services and cloud instance metadata endpoints — the classic route to temporary cloud credentials.
  • 3The error is the tell. Because the parse fails on the injected construct, GeoServer surfaces an Illegal property name exception. That string in a GeoServer or proxy log is one of the highest-value indicators available for this CVE.

SSRF against cloud instance metadata is the pivot worth planning for first. A GeoServer instance running on AWS, Azure or GCP with an attached instance role will hand out credentials to anything that can make the server fetch the metadata address — and the request needs no authentication from the attacker to do it.

🔧

Technical Deep Dive

PHASE 04 / 12

The vulnerability reduces to two missing operations in one code path: no escaping on substitution, and no entity resolver on parse. Knowing where each sits — and why removing either alone is not the fix — separates a responder who can reason about exploitation from one who can only pattern-match a URL.

Attack chain — CVE-2026-120705 and the fix that closes each hop
1
Step one — template substitution without escaping
Root Cause
GeoServer stores the GetFeatureById query as an XML template. When a request arrives, the server takes the caller's ID value and substitutes it into that template as a raw string. There is no XML-escaping on the way in, so anything the caller writes that is syntactically meaningful to an XML parser becomes meaningful to GeoServer's parser too.
What the server builds — attacker input becomes document structure
# Template (conceptual): the ID value lands here as raw text {ID} # Benign ID -> well-formed XML, filter matches one feature id=feature-1234 # Malicious ID -> the filter document now contains a foreign element id= href="file:///etc/passwd" parse="text"/> # The caller is no longer supplying an identifier. # The caller is supplying part of the document the server parses.

NVD states it plainly: the stored query "substituted the caller's ID parameter into an XML template without escaping", then parsed the result without GeoServer's entity resolver. Both clauses are load-bearing — removing only the escaping still leaves an XML injection surface; removing only the resolver still leaves the caller structuring the document.

2
Step two — parsing without the entity resolver
Root Cause
GeoServer normally routes XML parsing through its own entity resolver, which blocks external entity resolution and local-file inclusion. On this code path the stored query is parsed without that resolver, so the parser's default behaviour applies — and an XML parser asked to honour an xi:include directive fetches the referenced resource and splices it into the document.
  • 1The construct. xi:include is the W3C XInclude mechanism: an element that pulls an external resource into an XML document by reference. It is a legitimate XML feature, which is exactly why it survives in parsers that only block classic / declarations.
  • 2The resolver switch. Because the parse bypasses GeoServer's entity resolver, nothing intercepts the reference. The parser resolves it directly — against file:// for local files, or http:// / https:// for a network fetch initiated by the server.
  • 3The failure mode. The injected content does not match what the filter logic expects, so parsing ultimately fails — and the resulting Illegal property name exception carries the resolved content back to the caller in the error response.
  • 4The conditional echo. Per the advisory, the resolved content reaches the caller only when a layer is published to anonymous users. Without anonymous layer publication the file is still read server-side — a blind read and a blind SSRF, observable in egress and proxy logs but returning no data.

Filtering only and is not enough here. A rule that blocks classic entity declarations but permits xi:include will still pass this payload. Your parser-side controls and your WAF rules must both cover the XInclude construct, not just the entity declaration.

3
Step three — the fix and the chain to remote code execution
Remediation & Escalation
The fix ships as two coordinated component upgrades. The GeoServer side routes stored query parsing through the GeoServer entity resolver; the GeoTools side adds the PreventLocalEntityResolver component, which now also checks redirects.
ComponentAffectedFixed
org.geoserver:gs-wfs-core<= 2.27.6; 2.28.0 – 2.28.5; 3.0.0 – 3.0.12.27.7, 2.28.6, 3.0.2
org.geotools:gt-metadata<= 33.6; 34.0 – 34.5; 35.0 – 35.133.7, 34.6, 35.2

The redirect check in PreventLocalEntityResolver is what catches SSRF specifically. A resolver that blocks a direct file:// or http:// reference but follows an HTTP redirect to one is trivially bypassed — the attacker hosts an open redirect, points the xi:include href at it, and the parser follows the Location header to the forbidden target. Validating the destination after redirect resolution closes that.

  • 1CVE-2026-120705 — XML injection in the WFS GetFeatureById stored query (CWE-91). Unauthenticated local file read and SSRF. Confirmed in NVD, published 2026-11-30.
  • 2CVE-2026-129243 — incorrect authorization (CWE-863) bypass of service-level role checks via a prefixed service parameter. Confirmed in NVD, published 2026-11-30, and independently listed in CISA KEV with the same 2026-11-30 due date.
  • 3CVE-2026-129244, CVE-2026-129245, CVE-2026-129242 — named by CISA as the remaining chain members. At the time of writing, no NVD record had been published for these three identifiers; they appear only in the CISA KEV descriptions for CVE-2026-120705 and CVE-2026-129243. Treat their technical detail as unconfirmed and patch to the vendor's released versions rather than on assumptions about each one's mechanism.

Patch both components in the same maintenance window, and treat confirmed exploitation on an unpatched instance as a step toward code execution rather than a file-disclosure curiosity. A GeoServer upgrade that leaves gt-metadata behind inherits a resolver without the redirect check; a GeoTools upgrade on its own leaves the stored query parsing outside the entity resolver entirely. The advisory lists them as a single fixed set, and they should be treated as one.

Technical deep dive — summary
  • Root cause is two-part: unescaped ID substitution into an XML template, plus parsing with no entity resolver. Both must be fixed.
  • xi:include — not — is the practical injection construct, so entity-only filtering does not stop it.
  • Outcomes per request: local text file read and server-side HTTP/HTTPS fetch, bounded by the GeoServer process's privileges.
  • Resolved content is echoed in the Illegal property name error only where a layer is published to anonymous users.
  • The redirect check added to PreventLocalEntityResolver blocks SSRF-via-redirect — its absence is why the GeoTools upgrade is not optional.
  • Chaining with CVE-2026-129243 and three further KEV-named CVEs escalates this to unauthenticated remote code execution.


!
Act on CVE-2026-120705 now
Action Required
CISA's mandated remediation date for CVE-2026-120705 passed on 30 November 2026. If a GeoServer instance in your estate exposes WFS to the internet, treat this as an active intrusion problem — not a patch-when-convenient ticket — and follow the mitigation path in the final phases of this analysis.
🔍

Check exposure

Confirm whether WFS answers on /geoserver/wfs, /geoserver/ows or /wfs from the internet, and whether any layer is published to anonymous users. That combination — not the version alone — is what makes data return possible.

🛡

Patch both components

Upgrade gs-wfs-core to 2.27.7, 2.28.6 or 3.0.2 and gt-metadata to 33.7, 34.6 or 35.2. Patch the companion chain CVEs in the same window — that chain is what turns a file read into remote code execution.

🔒️

Hunt and rotate

Search GeoServer and reverse-proxy logs for the GetFeatureById stored query carrying injected XML or a scheme prefix, and for Illegal property name errors. If you find hits, treat every credential and secret readable by the GeoServer process as compromised and rotate it.

🔂

Lateral Movement / Post-Exploitation

PHASE 05 / 12

No malware family, loader or implant has been published for this CVE. That absence matters: there is no stage-two payload to hunt for, because the attacker does not need one. The vulnerability itself is the tooling, and post-exploitation consists of what the attacker reads and what they reach from the server's own network position.

1
What the attacker does with the read primitive
Post-Exploitation
The advisory establishes one outcome per request: reading a local text file accessible to the GeoServer process, or forcing the server to fetch an attacker-chosen HTTP or HTTPS URL. Both are reconnaissance primitives, used against the server itself.
  • 1Credential harvesting. The GeoServer data directory holds datastore connection strings, backing-store credentials and service account material. A read that reaches those files converts an unauthenticated request into access to whatever the GeoServer account can reach.
  • 2Blind reconnaissance. Where no layer is published to anonymous users, the file is still read server-side — file existence and structure enumerated without content ever returned.
  • 3SSRF as an internal scanner. The server can be made to fetch any HTTP or HTTPS URL, reaching loopback interfaces, management planes and internal service endpoints.
  • 4Escalation through the chain. CISA records the flaw chaining with CVE-2026-129243, CVE-2026-129244, CVE-2026-129245 and CVE-2026-129242 for unauthenticated remote code execution. This is where activity stops being read-only — and where an unexpected file written into the data directory (a JSP, a class file, a stray script) becomes confirmed code execution rather than a file-disclosure curiosity.
  • 5Reflected or blind changes the trail, not the risk. Content is returned only where a layer is published to anonymous users; otherwise the read and fetch still happen server-side. An operator scanning an estate hits the reflected instances first, then moves to the blind ones because the loud path is closed — so a hunt reading only web logs finds the noisy cases and misses the quiet ones.
2
The escalation path from disclosure to execution
Chain Analysis
CISA's KEV description names four companion CVEs as escalation partners. Only one has a published NVD record; the other three are named solely in the KEV descriptions, so the chain is mapped by role rather than technique.
StageComponentRole in the chainConfirmation status
1CVE-2026-120705XML injection in the WFS GetFeatureById stored query — unauthenticated entry point; local file read and SSRF (CWE-91).NVD confirmed — published 2026-11-30, Analyzed.
2CVE-2026-129243Incorrect authorization (CWE-863) — bypass of service-level role checks via a prefixed service parameter.NVD confirmed — published 2026-11-30; also in KEV with the same due date.
3CVE-2026-129244Named by CISA as a chain member. Mechanism not published.KEV-named only — no NVD record at time of writing.
4CVE-2026-129245Named by CISA as a chain member. Mechanism not published.KEV-named only — no NVD record at time of writing.
5CVE-2026-129242Named by CISA as a chain member. Mechanism not published.KEV-named only — no NVD record at time of writing.

The chain is a privilege ladder: reach the parser (CVE-2026-120705), cross the authorization boundary (CVE-2026-129243), land the remaining three which together deliver execution. Patching only CVE-2026-120705 leaves the second stage intact. Because three members have no published technical detail, do not model the exploit path from first principles — patch all five identifiers in one window and hunt on observable consequences: the request shape, the Illegal property name error, and unexpected writes into the data directory.

🌐

C2 Infrastructure

PHASE 06 / 12

This is the phase where a defender's instinct to hunt for command-and-control infrastructure has to be disciplined. No C2 domains, IP addresses, certificates or ports have been published for CVE-2026-120705 — the research data contains empty hash, IP and domain indicator sets, and none of the four sources reviewed publishes an actor's infrastructure. Inventing an IOC list here would be the single most damaging thing this analysis could do.

What does exist is a server-side request pattern with its own shape. In the reflected case the attacker supplies the destination directly in the href of the injected xi:include. In the indirect case — and the GeoTools fix makes clear this is the case the vendor considered worth blocking — the destination is reached through an open redirect the attacker controls, with the resolver following the Location header to a file:// or internal HTTP target.

1
The two destination patterns and what they expose
Infrastructure Model
Both patterns terminate at a destination the attacker's server-side request reaches. The difference is whether the destination appears in the URL the defender can log, or only in the redirect target.
PatternObservable locationDefender's visibility
Direct hrefThe attacker's own HTTP/HTTPS URL appears verbatim in the WFS request query string.High — visible in web access logs, proxy logs and WAF logs on the GeoServer side.
Redirect-brokeredOnly the redirector URL appears in the query string; the final file:// or internal target lives in the Location header of the redirector response.Low in request logs — visible only in outbound connection logs and egress firewall records on the GeoServer host.
Local file readNo network destination at all; the target is a path on the GeoServer host.Only via GeoServer error output and host-level file access telemetry.

The redirect-brokered pattern is why the PreventLocalEntityResolver redirect check is a required part of the fix rather than a hardening nicety: it is the code path the fix author judged exploitable enough to close. A defender reviewing only inbound web logs is looking at the wrong side of this traffic.

2
Fingerprinting GeoServer for exposure — the pivots that matter
Reconnaissance
Since no attacker infrastructure is published, the actionable reconnaissance is the target side: which GeoServer instances are exposed, on which version lines, and which are in scope for the chain. The version detail separates a patchable instance from an exploitable one, and the endpoints below are the ones the advisory names.
Endpoint pivots — paths named in the advisory and the affected-component set
# WFS service endpoints that carry the vulnerable stored query /geoserver/wfs /geoserver/ows /wfs # The stored query that carries the payload — present in every distribution, # so its presence confirms a default install rather than a custom configuration urn:ogc:def:query:OGC-WFS::GetFeatureById # Components to inventory on each instance, and the fixed targets org.geoserver:gs-wfs-core # affected: <=2.27.6, 2.28.0-2.28.5, 3.0.0-3.0.1 org.geotools:gt-metadata # affected: <=33.6, 34.0-34.5, 35.0-35.1 gs-wfs-core 2.27.7 / 2.28.6 / 3.0.2 gt-metadata 33.7 / 34.6 / 35.2
  • 1Version confirmation. Inventory gs-wfs-core and gt-metadata on every instance. An instance on a fixed version of one component but an affected version of the other is still in scope — the advisory lists them as a single fixed set.
  • 2Anonymous layer publication. This is the difference between a reflected read and a blind one, and it determines which evidence trail to expect. Review published-layer permissions per instance rather than assuming a single estate-wide posture.
  • 3Chain partner check. CVE-2026-129243 was added to KEV with the same 2026-11-30 due date as CVE-2026-120705. An instance patched for one and not the other is a partial mitigation.
  • 4Egress posture. Because the SSRF primitive is server-side, the GeoServer host's outbound access is part of its exposure. Instances with unrestricted egress reach more destinations, including cloud instance metadata endpoints.

Do not build a blocklist of "attacker GeoServer C2 addresses" for this CVE. There is no published infrastructure to block, and any such list would be invented. The durable control is the egress restriction on the GeoServer host plus the paired component upgrade — not an IP list that will be obsolete the moment the operator rotates.

🔍

DFIR Investigation Steps

PHASE 07 / 12

The following sequence is what a responder actually runs, in order. It assumes no actor indicators are available — because none are published — so every step keys on request shape, error strings, or host-side telemetry rather than on an IOC match. Each query is stated as a KQL/SPL pair so it can be run directly in either Microsoft Sentinel or Splunk.

1
Establish scope — which instances are reachable and which layers are anonymous
Step 1 · Scope
Before hunting for exploitation, confirm which hosts answer WFS and whether any layer is published to anonymous users. Without anonymous layer publication the exploit is blind and leaves far less in the web logs, so the second half of the hunt depends on this answer.
DETECTS: Any request to a GeoServer WFS or OWS endpoint, regardless of payload — the candidate-host list for the rest of the investigation.
KQL — Microsoft Sentinel / Log Analytics
W3CIISLog | where csUriStem has_any ("/geoserver/wfs", "/geoserver/ows", "/wfs") | extend GeoServerWFS = iff(csUriQuery has "GetFeatureById", "GetFeatureById stored query hit", "other WFS operation") | summarize Hits=count(), StoredQueryHits=countif(GeoServerWFS has "GetFeatureById") by SourceIP, csUriStem, HostIP | order by StoredQueryHits desc
SPL — Splunk
index=* sourcetype=access_combined (uri="*/wfs*" OR uri="*/ows*") | stats count as hits values(status) as status by src uri | sort - hits
Step 1 produces
  • A list of source IPs and hosts that issued WFS requests — the candidate set for every later step.
  • A count of GetFeatureById hits per host, separating scanning noise from targeted use of the vulnerable stored query.
  • The basis for deciding whether to hunt reflectively (web logs) or blindly (egress and file-access telemetry).
2
Find the exploit request — injected XML in the ID parameter
Step 2 · Exploit Request
The highest-confidence detection in the investigation. The request must carry the built-in stored query identifier and an XML construct or a URI scheme in the same query string. Either alone is weak; both together is the payload.
DETECTS: Unauthenticated exploit attempts against the GetFeatureById stored query where XML (xi:include, DOCTYPE, ENTITY) or a file:// / http:// scheme is injected into the ID parameter.
KQL — Microsoft Sentinel / Log Analytics
W3CIISLog | where csUriStem has "/wfs" | where csUriQuery has "GetFeatureById" | where csUriQuery has_any ("xi:include", "&#x", "file://", "http://", "https://") | project TimeGenerated, SourceIP, csUriStem, csUriQuery, scStatusCode, csUserAgent | order by TimeGenerated asc
SPL — Splunk
index=* sourcetype=iis (cs-uri-stem="*/wfs" cs-uri-query="*GetFeatureById*") ("*xi:include*" OR "*&#x*" OR "*file://*") | table _time src cs-uri-stem cs-uri-query sc-status user-agent | sort 0 _time
3
Confirm the server-side error — the Illegal property name signature
Step 3 · Confirmation
The advisory's error path is the second half of the detection. When the injected construct is resolved and the resulting document fails to parse, GeoServer surfaces an Illegal property name exception — and, where a layer is published to anonymous users, that error carries the resolved content back to the caller. The string is therefore both a detection hook and a content-disclosure indicator.
DETECTS: GeoServer process or syslog output containing the Illegal property name exception, or the exploit request shape — both signatures of the parser failing on injected XML.
KQL — Microsoft Sentinel / Log Analytics
Syslog | where SyslogMessage has_any ("GetFeatureById", "OGC-WFS::GetFeatureById") | where SyslogMessage has_any ("xi:include", "Illegal property name", "
SPL — Splunk
index=* sourcetype=access_combined (uri="*GetFeatureById*") ("*xi:include*" OR "*Illegal property name*" OR "*file://*") | table _time src uri status

Log retention is the constraint that decides whether this investigation is possible at all. The advisory was public on 23 November 2026 and the KEV deadline was 30 November 2026 — a seven-day window. If your web and application logs do not retain at least that period, the question "were we exploited" cannot be answered from telemetry and must be answered from an asset and configuration review instead.

4
Pivot to the host — data directory artifacts and outbound connections
Step 4 · Host Pivot
Two host-side checks close the loop. First, the data directory: the advisory's mitigation guidance calls out unexpected JSP or class artifacts consistent with the RCE chain, and any such file shows the escalation path was used rather than merely the read primitive. Second, outbound connections: blind SSRF and redirect-brokered fetches appear in egress records even when no request reached the web log.
DETECTS: Outbound requests from the GeoServer host to destinations outside its normal dependency set — the signature of a blind SSRF fetch or a redirect-brokered xi:include resolution.
KQL — Microsoft Sentinel / Log Analytics (network flow / firewall log join)
CommonSecurityLog | where DeviceAction == "Allow" | where DestinationHostName has_any ("169.254.169.254", "metadata.google.internal") | project TimeGenerated, SourceIP, DestinationHostName, DestinationPort, RequestURL | order by TimeGenerated asc
SPL — Splunk
index=* sourcetype=firewall OR sourcetype=network_flow (dest_ip="169.254.169.254" OR dest_host="metadata.google.internal") | table _time src dest_ip dest_port action | sort 0 _time
  • 1Data directory review. Inspect the GeoServer data directory for unexpected JSP, class or script files. Anything unexpected there is treated as confirmed code execution on that host.
  • 2Egress review. Review outbound connections from the GeoServer host for destinations that are not part of its normal dependency set, including instance metadata endpoints.
  • 3Credential scope. Per the mitigation guidance, treat credentials and secrets readable by the GeoServer process as compromised and rotate them — datastore credentials, service account keys and any secret mounted into the container or host.
  • 4Timeline reconstruction. Correlate the first exploit request timestamp with the first anomalous outbound connection. A gap between them is the window in which the operator moved from reconnaissance to escalation.

Run the metadata-endpoint pivot even if your web-log hunt came back clean. A blind SSRF against an instance metadata service leaves no response body to analyse and no error in the access log on the WFS side — the only artefact is an outbound connection from the GeoServer host. On cloud-hosted GeoServer this is the single highest-value check in the sequence.

🛡

Indicators of Compromise

PHASE 08 / 12

The indicator set for this CVE is unusual, and the unusual shape is the point. There are no published file hashes, no attacker IP addresses and no attacker domains. Every source reviewed — the GeoServer advisory, NVD, the CISA KEV entry and the GeoServer vulnerability notice — publishes the vulnerability, not the operator. The indicators below are behavioural: request shapes, error strings, endpoint paths and version fingerprints, derived from the advisory's description of the mechanics.

1
Request-level indicators — what to match on
IOC Table
The highest-confidence indicators for CVE-2026-120705. Each is derived from the mechanics described in the advisory, not from an observed attack sample.
TypeIndicator valueContextConfidence
Stored queryurn:ogc:def:query:OGC-WFS::GetFeatureByIdBuilt-in OGC WFS 2.0 stored query; the target of the injection. Present in every distribution.Medium alone — legitimate clients use it; high when paired with a payload marker.
URI path/geoserver/wfsWFS service endpoint carrying the vulnerable stored query.Medium — path only; combine with query content.
URI path/geoserver/owsOGC Web Services endpoint; the same service reached through a different handler.Medium
URI path/wfsRoot-context deployment of the WFS service.Medium
Query markerxi:includeXInclude element injected via the ID parameter; the practical exploit construct for this CVE.High — the practical payload marker.
Query markerfile://Local-file scheme in the injected href — the local text file read path.High
Query markerhttp:// / https://Network scheme in the injected href — the SSRF path. Note this is a payload marker inside a WFS query string, not a destination URL.High in context
Query marker / Classic XML entity declarations. The advisory's XInclude path is the practical one, but entity-style payloads appear in scanner traffic and must be covered by detection.High
Query marker&#xNumeric character reference encoding — used to encode angle brackets and evade literal string matching on .High — encoding evasion indicator.
Error stringIllegal property nameGeoServer exception raised when the parser fails on the injected construct. Where a layer is published to anonymous users, this error also carries the resolved content back to the caller.High — the highest-value single string indicator.
2
Host-side and version indicators — what to check on the target
IOC Table
These indicators identify an at-risk target rather than an attacker, and they are what turns a request match into a confirmed finding.
TypeIndicator valueContext
Vulnerable componentorg.geoserver:gs-wfs-core <= 2.27.6, 2.28.0 – 2.28.5, 3.0.0 – 3.0.1Component carrying the vulnerable stored query parsing path.
Vulnerable componentorg.geotools:gt-metadata <= 33.6, 34.0 – 34.5, 35.0 – 35.1Component providing the entity resolver; the fix adds the redirect check here.
Fixed componentgs-wfs-core 2.27.7 / 2.28.6 / 3.0.2; gt-metadata 33.7 / 34.6 / 35.2The paired upgrade set. Both are required — neither alone is the fix.
Chain CVECVE-2026-129243Authorization bypass (CWE-863) via a prefixed service parameter. NVD-confirmed; also listed in CISA KEV with the same 2026-11-30 due date.
Chain CVECVE-2026-129244, CVE-2026-129245, CVE-2026-129242Named by CISA as chain members. No published NVD record at time of writing — treat technical detail as unconfirmed.
Host artifactUnexpected JSP, class or script files in the GeoServer data directoryCalled out in the mitigation guidance as consistent with the RCE chain. Presence indicates code execution, not just exploitation of the read primitive.
Network behaviourOutbound connection from the GeoServer host to a destination outside its normal dependency setThe SSRF signature, including instance metadata endpoints. Visible even when the exploit is blind and no content is returned.
ConfigurationLayer published to anonymous users on the affected version linesThe precondition that makes content return possible. Without it the exploit is blind but still reaches the file and the network.
3
Sigma rule for the request pattern
Detection Rule
The request-pattern indicators convert cleanly into a Sigma rule that runs against web server logs. The filter on response status is deliberate: a successful response means the request did not trigger the parser failure, so the payload was likely not resolved.
Sigma — GeoServer WFS GetFeatureById XML injection attempt
title: GeoServer WFS GetFeatureById XML Injection Attempt id: 7b1e2c90-4d3a-4f61-9c2e-0a5f8d1b6e44 status: experimental description: Detects unauthenticated exploit attempts against the GeoServer WFS GetFeatureById stored query, where an attacker injects XML (xi:include, DOCTYPE/ENTITY) or a file/HTTP scheme into the ID parameter to read local files or force server-side requests. author: CyberHawk Threat Intel date: 2026-12-01 logsource: category: webserver product: linux detection: selection_uri: - url_query|contains: 'GetFeatureById' selection_payload: - url_query|contains: 'xi:include' - url_query|contains: 'file://' - url_query|contains: '&#x' - url_query|contains: ' - url_query|contains: ' filter_status: - status|lt: 300 condition: selection_uri and selection_payload and not filter_status level: high tags: - attack.impact - attack.t1190 - cve.2026.120705
IOC summary — what to deploy now
  • Deploy: the Sigma rule above, plus the KQL and SPL pairs from the DFIR phase, against web server logs on every GeoServer-facing host.
  • Deploy: the Illegal property name string match against GeoServer application and syslog output — the single highest-value indicator available.
  • Deploy: an egress rule blocking the GeoServer host from reaching instance metadata endpoints and restricting outbound destinations to required dependencies.
  • Do not deploy: any hash, IP or domain blocklist for this CVE. None has been published, and an invented list would be a false control.
  • Do deploy: the paired upgrade — gs-wfs-core and gt-metadata together — alongside CVE-2026-129243 and the three KEV-named chain CVEs in the same window.
🔍

Detection & Hunt Queries

PHASE 09 / 12

No attacker infrastructure is published for this CVE, so detection keys on request shape: the built-in GetFeatureById stored query carrying an XML construct or a URI scheme in the same query string. Every query below is a KQL/SPL pair, deployable in Sentinel or Splunk as-is.

1
Web server access log hunt — the exploit request
Hunt 1 · Access Log
The highest-confidence web-layer detection: the WFS endpoint, the stored query identifier and a payload marker in one request — so it fires on the exploit, not on legitimate GIS clients that merely use the stored query.
DETECTS: Requests to a GeoServer WFS endpoint carrying GetFeatureById together with xi:include, a numeric character reference, or a file:// / http:// / https:// scheme in the query string.
KQL — Microsoft Sentinel / Log Analytics
W3CIISLog | where csUriStem has "/wfs" | where csUriQuery has "GetFeatureById" | where csUriQuery has_any ("xi:include", "&#x", "file://", "http://", "https://") | project TimeGenerated, SourceIP, csUriStem, csUriQuery, scStatusCode, csUserAgent | order by TimeGenerated asc
SPL — Splunk
index=* sourcetype=iis (cs-uri-stem="*/wfs" cs-uri-query="*GetFeatureById*") ("*xi:include*" OR "*&#x*") | table _time src cs-uri-stem cs-uri-query sc-status user-agent | sort 0 _time
2
GeoServer process and proxy error hunt — the reflected signature
Hunt 2 · Error Output
The second half of the detection. When the injected construct is resolved and the document fails to parse, GeoServer raises an Illegal property name exception — and where a layer is published to anonymous users, that error carries the resolved content back to the caller.
DETECTS: GeoServer syslog output or proxy access logs containing the Illegal property name exception alongside the stored query identifier and a payload marker.
KQL — Microsoft Sentinel / Log Analytics
Syslog | where SyslogMessage has_any ("GetFeatureById", "OGC-WFS::GetFeatureById") | where SyslogMessage has_any ("xi:include", "Illegal property name", "
SPL — Splunk
index=* sourcetype=access_combined (uri="*GetFeatureById*") ("*xi:include*" OR "*Illegal property name*" OR "*file://*") | table _time src uri status

Both halves are needed. The access-log query alone misses the blind cases where nothing is reflected; the error query alone is noisy on unrelated parse failures. Run both and join on source IP and timestamp.

3
Sigma rule — the server-side error signature
Hunt 3 · Sigma
The request-side Sigma rule is listed in Phase 08. This companion rule covers the other half — GeoServer process output where the parser failure surfaces — so it still fires on blind cases where the construct was resolved server-side but nothing was returned.
Sigma — GeoServer XXE/SSRF error reflection in server output
title: GeoServer WFS XML Injection Error Reflection id: c3d81a74-2f60-4c9e-9b31-05f6a7c4e218 status: experimental description: Detects GeoServer output showing the parser failure raised when injected XML is resolved by the WFS GetFeatureById stored query, indicating exploitation of CVE-2026-120705 and possible local file disclosure or SSRF. author: CyberHawk Threat Intel date: 2026-12-01 references: - https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47 - https://nvd.nist.gov/vuln/detail/CVE-2026-120705 logsource: category: application product: geoserver detection: selection_error: - Message|contains: 'Illegal property name' selection_query: - Message|contains: 'GetFeatureById' - Message|contains: 'OGC-WFS::GetFeatureById' condition: selection_error and selection_query falsepositives: - Malformed WFS requests that fail for unrelated reasons can raise the same exception; confirm a payload marker was present in the corresponding request. level: high tags: - attack.impact - attack.t1190 - cve.2026.120705
4
YARA rule — scanning raw log files and proxy captures
Hunt 4 · YARA
For teams holding raw access logs, proxy captures or GeoServer log archives as flat files, a YARA rule greps them offline with no live SIEM pipeline. The condition requires both a stored-query reference and a payload marker, so it does not fire on legitimate use.
YARA — GeoServer WFS GetFeatureById XXE exploit attempt
rule GeoServer_WFS_GetFeatureById_XXE_Exploit { meta: description = "Detects GeoServer WFS GetFeatureById XML injection / XXE exploitation attempts in web server access logs and GeoServer error output" author = "CyberHawk Threat Intel" date = "2026-12-01" reference = "https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47" cve = "CVE-2026-120705" strings: $s1 = "GetFeatureById" ascii nocase $s2 = "urn:ogc:def:query:OGC-WFS::GetFeatureById" ascii nocase $s3 = "xi:include" ascii nocase $s4 = "Illegal property name" ascii nocase $s5 = " ascii nocase $s6 = " ascii nocase $s7 = "file://" ascii nocase condition: (any of ($s1, $s2)) and (any of ($s3, $s4, $s5, $s6, $s7)) }
Hunt deployment summary
  • Deploy now: the KQL/SPL access-log pair against every GeoServer-facing host, plus the Illegal property name string match on GeoServer application output.
  • Deploy now: the Sigma request rule from Phase 08 and the server-output rule above, on web server and application log sources respectively.
  • Deploy now: the YARA rule against retained log archives, to backfill history that predates the SIEM pipeline.
  • Always pair: the web-log hunt with an egress hunt from the GeoServer host — blind SSRF leaves no inbound log artefact at all.
  • Do not deploy: any hash, IP or domain match for this CVE. None has been published, and an invented list would be a false control.
🎯

MITRE ATT&CK Mapping

PHASE 10 / 12

The mapping below describes what an operator does with this vulnerability, not what has been observed in a named campaign — no group is attributed. Techniques run in order, from the unauthenticated request through to the code-execution outcome available when the companion CVEs are also unpatched.

TechniqueNameHow it applies hereEvidence
T1190Exploit Public-Facing ApplicationA single unauthenticated HTTP GET against the internet-reachable GeoServer WFS service. The stored query is built into every distribution, so no misconfiguration is required beyond exposure.Confirmed — CVSS AV:N / AC:L / PR:N / UI:N; KEV-listed.
T1005Data from Local SystemReading a local text file accessible to the GeoServer process, reflected in the Illegal property name error where a layer is published to anonymous users.Confirmed — vendor advisory.
T1083File and Directory DiscoveryThe blind variant: the server reads the file server-side even where content is not returned, letting the operator enumerate file existence and structure.Confirmed — advisory states the file is still read server-side.
T1048.003Exfiltration Over Alternative Protocol: Unsecured Non-C2 ProtocolThe SSRF path: the GeoServer host fetches an attacker-chosen HTTP or HTTPS URL, moving data out over an ordinary web request.Confirmed — forced server-side fetch of attacker-chosen URLs.
T1059Command and Scripting InterpreterThe code-execution outcome once the chain completes — command execution on the GeoServer host through the companion CVEs.Chain-dependent — mechanics unpublished.
T1505.003Server Software Component: Web ShellThe likely persistence form of that execution — an unexpected JSP or class artifact written into the data directory.Chain-dependent — from the advisory's remediation guidance, not an observed implant.

T1190 is the only technique here visible in your perimeter logs. The rest show up on the host — outbound connections, file reads, process execution, new files in the data directory — so the host-side hunt matters as much as the web-log hunt.

🛡

Mitigation / Hardening

PHASE 11 / 12

The mitigation sequence follows blast radius: cut the entry point, close the fetch primitive, then clean up. The CISA deadline passed on 30 November 2026; the required action is vendor mitigations per BOD 26-04.

1
Patch the paired components and the chain in one window
Step 1 · Patch
The definitive fix is a two-part upgrade: GeoServer routes stored query parsing through the entity resolver, and GeoTools adds PreventLocalEntityResolver with the redirect check that closes SSRF-via-redirect.
ComponentAffectedFixed
org.geoserver:gs-wfs-core<= 2.27.6; 2.28.0 – 2.28.5; 3.0.0 – 3.0.12.27.7, 2.28.6, 3.0.2
org.geotools:gt-metadata<= 33.6; 34.0 – 34.5; 35.0 – 35.133.7, 34.6, 35.2
  • 1Upgrade both components together. The advisory lists them as one fixed set; neither alone is the fix.
  • 2Patch the chain partners in the same window — CVE-2026-129243, CVE-2026-129244, CVE-2026-129245 and CVE-2026-129242. Chaining them yields unauthenticated RCE.
  • 3Follow BOD 26-04 and its Forensics Triage Requirements; for cloud services, follow the BOD guidance or discontinue the product if mitigations are unavailable.
  • 4Evaluate each asset's internet exposure rather than applying blanket exceptions.

A fixed version on one component is not evidence the instance is patched. Inventory both gs-wfs-core and gt-metadata — fixed on one and affected on the other is still in scope.

2
Restrict WFS and anonymous layer publication
Step 2 · Restrict
The vendor-recommended workaround while patching is to remove the reachable surface. The advisory's precondition — a layer published to anonymous users — converts a blind primitive into a data-returning one, so it is the cheapest thing to remove.
  • 1Restrict or disable WFS for anonymous users using service security; disable the service entirely where no consumer requires it.
  • 2Audit anonymous layer publication and remove it where not required — that closes the echo path, though the server-side read and fetch still occur.
  • 3Review service-level authorization. CVE-2026-129243 is an authorization bypass via a prefixed service parameter, so role checks on service access are part of the defence.
  • 4Restrict GeoServer egress to required destinations and block metadata-service endpoints — for example cloud instance metadata.

Egress restriction is the control that covers the blind cases. Removing anonymous layer publication closes the data-return path but does not stop the server fetching a URL on the attacker's behalf — only blocking outbound access to metadata endpoints and non-required destinations does, and it works on an unpatched instance.

3
Hunt, then assume compromise and rotate
Step 3 · Respond
If the Phase 09 hunt returns hits on an unpatched instance, the posture is not "close the ticket and patch" — it is "treat the host as compromised and rotate what the process could reach."
Concrete rotation scope — everything the GeoServer process can read
# Datastore connection strings and backing-store credentials $GEOSERVER_DATA_DIR/security/ $GEOSERVER_DATA_DIR/workspaces/*/ # Service account material and mounted secrets (rotate these too) $GEOSERVER_DATA_DIR/security/keymaster/ /etc/secrets/ /run/secrets/ # Cloud instance role credentials reachable via the SSRF primitive 169.254.169.254 # block egress to this and rotate the attached role
  • 1Hunt for exploitation in GeoServer and reverse-proxy logs for the stored query with injected XML or scheme prefixes, and for Illegal property name errors.
  • 2Rotate credentials and secrets readable by the GeoServer process — datastore credentials, service account keys, and any secret mounted into the container or host.
  • 3Review the data directory for unexpected JSP or class artifacts consistent with the RCE chain. Anything unexpected there is treated as confirmed code execution.
  • 4Re-run the identification queries after remediation, expecting zero hits, and confirm the fixed versions are actually deployed.
Hardening complete when
  • gs-wfs-core on 2.27.7 / 2.28.6 / 3.0.2 and gt-metadata on 33.7 / 34.6 / 35.2 — verified on the running instance.
  • CVE-2026-129243, CVE-2026-129244, CVE-2026-129245 and CVE-2026-129242 patched in the same window.
  • WFS restricted for anonymous users; no layer published anonymously without a documented business reason.
  • Egress restricted to required destinations, with metadata-service endpoints blocked.
  • The Phase 09 hunt queries return zero hits across retained log history, and every readable credential is rotated.
  • The data directory is reviewed and contains no unexpected JSP, class or script artifacts.
📚

Sources & References

PHASE 12 / 12

Every factual claim here — the CVSS vector, the CWE classification, the component versions, the KEV dates, the chain membership and the injection mechanics — traces to one of the four sources below. The vendor advisory is primary; the other three corroborate it and add the exploitation and scoring detail.

1
Primary and corroborating sources
References
Listed in order of authority.

Scope note: no source reviewed publishes an attacker IP address, domain, file hash, malware family or named threat actor for this CVE. The Sigma and YARA rules above are derived from the request mechanics in the vendor advisory — detection content, not recovered artefacts — and are labelled experimental accordingly.

Watch the advisory. Three of the four chain identifiers named by CISA — CVE-2026-129244, CVE-2026-129245 and CVE-2026-129242 — had no published NVD record at the time of writing. Their detail will change how stage two of the chain is hunted.


Disclaimer: Authorized security research & penetration testing only. Unauthorized use is illegal. | Author: Rudra Verma — CyberHawk Threat Intel

Sources & References

◈ Stay Connected

Follow CyberHawk Threat Intel for threat intelligence, deployment guides and hands-on SOC tooling content.

"They can't exploit you if you are the Exploit."