← All playbooks
CriticalExploited vuln · 2026-11-27

GeoServer CVE-2026-120705 and CVE-2026-129243: unauthenticated WFS GetFeatureById XML injection and prefixed-service bypass, exploited (CISA KEV, due Nov 30)

SockAnalyst · by Mario Velasco Jr., CompTIA Security+ CE

⚡ Triage: do you need this playbook?

If any row below is true in your environment, work this playbook. Start at the row that matches.

If you see this…Look hereIt meansDo this
GeoServer 2.27.6 or earlier, 2.28.0 to 2.28.5, or 3.0.0 to 3.0.1Server Status pageExposed to both KEV-listed WFS flawsUpgrade to 2.27.7 / 2.28.6 / 3.0.2
Anonymous WFS enabledSecurity > ServicesExploitable without loginRestrict until patched
Stored queries you did not create in wfs/query or workspaces/*/wfs/queryData directoryAbuse of CreateStoredQueryRun the IR branch
Severity: CriticalCISA KEV: 2 CVEs listedMaintainer advisory: CVE update, November 23 2026Vendor-published IOCs: none publishedLast verified against sources: 2026-11-28

EPSS is FIRST.org's estimated chance of exploitation in the next 30 days; CISA KEV status (confirmed exploitation) is the stronger signal. Which playbook do I need? See every signal →

🧭 Are you affected? Quick exposure check

  • Do you run GeoServer (or apps embedding GeoTools)?
  • Is WFS open to anonymous users?
  • Is it internet-facing?

What happened

On November 23, 2026 the GeoServer project published a coordinated vulnerability bulletin and two GitHub security advisories for unauthenticated flaws in the Web Feature Service. CVE-2026-120705 (GHSA-39mw-5chv-jh47) is an XML injection in the built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById. The ID parameter was substituted into an XML template without escaping and parsed without GeoServer's entity resolver, so an unauthenticated caller could inject XML, including xi:include, to read a local text file the GeoServer process can read or to fetch an attacker-selected HTTP or HTTPS URL (SSRF). The project scored it CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N (High) and assigned CWE-91, CWE-611 and CWE-918. Contents are echoed when a layer is published to anonymous users; otherwise the file is still read but not returned. CVE-2026-129243 (GHSA-rv5g-g2r9-58rj) is an incorrect-authorization bypass: a service parameter with a prefix such as service=x/WFS was resolved to WFS by the dispatcher, but service security checked the unresolved name, so no role check ran. With default rules, anonymous users could create and delete WFS stored queries (CreateStoredQuery and DropStoredQuery); installations that restrict other operations this way, for example WFS Transaction, lose that protection as well. Layer and data security rules still apply. The project scored it CVSS 4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N (High), CWE-863, and says stored queries created this way are an entry point for the GetFeatureById injection. CISA's KEV descriptions state that the two flaws can be chained with CVE-2026-129244, CVE-2026-129245 and CVE-2026-129242 to achieve unauthenticated remote code execution; those three additional CVEs are not currently in the KEV catalog. On November 27, 2026 CISA added CVE-2026-120705 and CVE-2026-129243 to the catalog, with a federal due date of November 30, 2026. Forensic triage is not required. Known ransomware campaign use is listed as Unknown. No indicators of compromise were published in the project bulletin, the GitHub advisories or the CISA alert we reviewed.

Who's affected

Anyone running GeoServer 2.27.6 and earlier, 2.28.0 through 2.28.5, or 3.0.0 through 3.0.1, especially instances with WFS reachable by anonymous or untrusted users. CVE-2026-120705 also affects GeoTools 33.6 and earlier, 34.0 through 34.5, and 35.0 through 35.1 (fixed in GeoTools 33.7, 34.6 and 35.2). Internet-facing WFS endpoints are at highest risk. No authentication, custom stored query or CreateStoredQuery access is required for the GetFeatureById injection on a vulnerable server.

✅ Fix / patch

  • Upgrade GeoServer to 3.0.2, 2.28.6 or 2.27.7, the patched releases named in the November 23, 2026 project bulletin and GitHub advisories. If you consume GeoTools directly, upgrade to 33.7, 34.6 or 35.2.
  • Until you can patch: restrict or disable the WFS service for anonymous users with GeoServer service security, or disable WFS if it is not required.
  • At a reverse proxy in front of GeoServer, block requests whose service parameter contains a slash, in the query string or in the service attribute of an XML request, as the project recommends for CVE-2026-129243.
  • Review the data directory folders wfs/query and workspaces/*/wfs/query for stored queries you did not create.
  • Federal agencies: remediate CVE-2026-120705 and CVE-2026-129243 by November 30, 2026. CISA does not require forensic triage for these two KEVs. Confirm internet exposure of every GeoServer and apply BOD 26-04.

🚨 Compromised already? Do this

Run this if a red triage row is true or the persistence check finds anything.

  1. Upgrade to 3.0.2, 2.28.6 or 2.27.7. Vendor advisory
  2. Restrict or disable the WFS service for anonymous users, or disable WFS if not required. Vendor advisory
  3. Block requests whose service parameter contains a slash at the reverse proxy. Vendor advisory
  4. Review the data directory wfs/query and workspaces/*/wfs/query folders for stored queries you did not create. Vendor advisory

🧰 Vendor tools and logs to collect

Logs to collect and keep:

  • GeoServer / reverse proxy access logs.
  • GeoServer data directory.

🔎 Quick hunt check

No IOCs (IPs, domains, hashes) have been published by the GeoServer project or CISA. Hunt in web, reverse-proxy or WAF logs in front of GeoServer (often under /geoserver, /ows or /wfs): (1) WFS GetFeature or GetFeatureById requests, including storedquery_id=urn:ogc:def:query:OGC-WFS::GetFeatureById, whose ID parameter contains XML metacharacters, xi:include, or encoded equivalents; (2) a service parameter with a prefix or slash, such as service=x/WFS or service=x%2FWFS, in the query string or in an XML body; (3) unauthenticated CreateStoredQuery or DropStoredQuery requests. Also inspect the data directory wfs/query and workspaces/*/wfs/query folders for stored queries you did not create. Query-string logging is enough for the service-prefix bypass; request-body logging helps catch XInclude in POST bodies. Defender XDR and CrowdStrike typically will not see those URIs unless proxy or WAF logs are ingested — those tabs hunt network connections to GeoServer hosts and any process artifacts on enrolled servers.

MITRE ATT&CK: T1190, T1005

IOCs

No IOCs (IPs, domains or hashes) published by the sources yet.

Hunt queries

Hunt logic (works with any SIEM)

Plain-English version of the hunt for teams on homegrown or other SIEM/SOAR tools. The tabs below implement the same logic.

Data source
Web server, reverse-proxy or WAF access logs in front of GeoServer (paths usually /geoserver, /ows or /wfs). Query-string logging catches the service bypass; request-body logging is needed to see XML POST bodies. For the version and stored-query checks: the GeoServer host itself.
What to look for
  • WFS GetFeature or GetFeatureById requests (storedquery_id=urn:ogc:def:query:OGC-WFS::GetFeatureById) whose ID value contains XML: <, %3C, &lt;, xi:include or xmlns:xi.
  • A service parameter with a prefix or slash, such as service=x/WFS or service=x%2FWFS, in the query string or in the service attribute of an XML body.
  • CreateStoredQuery or DropStoredQuery requests from anyone who is not a GeoServer administrator.
  • Stored-query files in the data directory (wfs/query, workspaces/*/wfs/query) that you did not create, and GeoServer versions below 3.0.2, 2.28.6 or 2.27.7.
Key fields
URL path, URL query string, request body (if logged), HTTP method, client IP, authenticated user (blank = anonymous), response status and size
IOCs
None published. The GeoServer project, both GitHub advisories and CISA's KEV alert list no IPs, domains or hashes. The strings above come from the advisories, not from attacker traffic.
False positives
Map clients that call GetFeatureById with plain IDs and administrators who manage stored queries are normal. Treat any match as a lead: check the source IP, whether the request was anonymous and whether the response returned data.

These queries are starting points built only from published indicators. Field names and log sources differ in every environment, so test and tune them before you rely on them.

# Needs web, reverse-proxy or WAF logs in front of GeoServer. Query-string fields catch service=x/WFS; request-body fields help catch xi:include in POSTs.
title: GeoServer WFS GetFeatureById with XML injection or XInclude in the ID
id: 2fba6f2a-eaea-4712-9978-08fa4dff9136
status: experimental
description: Hunts WFS 2.0 GetFeatureById stored-query requests whose ID or request body contains XML metacharacters or xi:include, the unauthenticated file-read / SSRF path in CVE-2026-120705.
references:
  - https://geoserver.org/vulnerability/2026/11/23/cve-update.html
  - https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
  - https://www.cisa.gov/news-events/alerts/2026/11/27/cisa-adds-three-known-exploited-vulnerabilities-catalog
  - https://sockanalyst.com/patch-now/geoserver-cve-2026-120705-cve-2026-129243-wfs-xml-injection-service-bypass-exploited-kev
author: SockAnalyst
date: 2026-11-27
tags:
  - attack.t1190
  - attack.t1005
logsource:
  category: webserver
detection:
  selection_query:
    cs-uri-query|contains:
      - GetFeatureById
      - 'urn:ogc:def:query:OGC-WFS::GetFeatureById'
  selection_inject:
    cs-uri-query|contains:
      - 'xi:include'
      - 'xmlns:xi'
      - '%3C'
      - '&lt;'
  condition: selection_query and selection_inject
falsepositives:
  - Unusual but legitimate GetFeatureById identifiers; confirm against your layer IDs
level: high
---
title: GeoServer prefixed service parameter such as x/WFS
id: cc6783ee-9902-429b-8e46-c8381fe8c535
status: experimental
description: Hunts a service parameter containing a slash, for example service=x/WFS, which bypassed GeoServer service security in CVE-2026-129243.
references:
  - https://geoserver.org/vulnerability/2026/11/23/cve-update.html
  - https://github.com/geoserver/geoserver/security/advisories/GHSA-rv5g-g2r9-58rj
  - https://www.cisa.gov/news-events/alerts/2026/11/27/cisa-adds-three-known-exploited-vulnerabilities-catalog
  - https://sockanalyst.com/patch-now/geoserver-cve-2026-120705-cve-2026-129243-wfs-xml-injection-service-bypass-exploited-kev
author: SockAnalyst
date: 2026-11-27
tags:
  - attack.t1190
logsource:
  category: webserver
detection:
  selection:
    cs-uri-query|contains:
      - 'service=x/WFS'
      - 'service=x%2FWFS'
  condition: selection
falsepositives:
  - Unlikely in legitimate clients; tune if a custom client uses a slashed service name
level: high
---
title: GeoServer WFS CreateStoredQuery or DropStoredQuery
id: 946ef9af-8f05-4919-ad9f-0cdc8fdace94
status: experimental
description: Hunts CreateStoredQuery and DropStoredQuery requests. With default GeoServer service security these are admin-only; CVE-2026-129243 let unauthenticated callers invoke them via a prefixed service name. Administrators also run these operations legitimately.
references:
  - https://geoserver.org/vulnerability/2026/11/23/cve-update.html
  - https://github.com/geoserver/geoserver/security/advisories/GHSA-rv5g-g2r9-58rj
  - https://www.cisa.gov/news-events/alerts/2026/11/27/cisa-adds-three-known-exploited-vulnerabilities-catalog
  - https://sockanalyst.com/patch-now/geoserver-cve-2026-120705-cve-2026-129243-wfs-xml-injection-service-bypass-exploited-kev
author: SockAnalyst
date: 2026-11-27
tags:
  - attack.t1190
logsource:
  category: webserver
detection:
  selection:
    cs-uri-query|contains:
      - CreateStoredQuery
      - DropStoredQuery
  condition: selection
falsepositives:
  - Legitimate administrator changes to WFS stored queries
level: high
```GeoServer: WFS GetFeatureById XML injection, prefixed service= parameter, CreateStoredQuery / DropStoredQuery```
# Needs web, reverse-proxy or WAF logs in front of GeoServer. Query-string logging catches service=x/WFS; body logging helps catch xi:include in POSTs. No published IOCs.
index=* earliest=11/01/2026:00:00:00
("GetFeatureById" OR "urn:ogc:def:query:OGC-WFS::GetFeatureById" OR "CreateStoredQuery" OR "DropStoredQuery" OR "service=x/WFS" OR "service=x%2FWFS" OR uri="*/geoserver*" OR uri="*/ows*" OR uri="*/wfs*")
| eval uri=coalesce(uri_path, uri, url, cs_uri_stem, http_uri, "")
| eval query=coalesce(uri_query, cs_uri_query, query, qs, "")
| eval body=coalesce(http_request_body, request_body, form_data, "")
| eval src=coalesce(src_ip, src, clientip, c_ip, "")
| eval method=coalesce(method, http_method, cs_method, "")
| eval blob=lower(uri."?".query." ".body." "._raw)
| eval signal=case(
    match(blob,"getfeaturebyid|urn:ogc:def:query:ogc-wfs::getfeaturebyid") AND match(blob,"xi:include|xmlns:xi|%3cxi|%3c%2f"), "getfeaturebyid_xinclude",
    match(blob,"getfeaturebyid|urn:ogc:def:query:ogc-wfs::getfeaturebyid") AND match(blob,"<|%3c|&lt;"), "getfeaturebyid_xml_metachar",
    match(blob,"service=x/wfs|service=x%2fwfs") OR match(query,"(?i)(?:^|&)service=[^&]*/") OR match(body,"(?i)service\s*=\s*\"[^\"]*/"), "prefixed_service_param",
    match(blob,"createstoredquery|dropstoredquery"), "stored_query_admin",
    1=1, "geoserver_wfs")
| search signal IN ("getfeaturebyid_xinclude","getfeaturebyid_xml_metachar","prefixed_service_param","stored_query_admin")
| stats count min(_time) as first max(_time) as last values(method) as methods values(signal) as signals values(uri) as uris by src
| sort -count
// GeoServer: WFS GetFeatureById XML injection, prefixed service= parameter, CreateStoredQuery / DropStoredQuery. Needs web, proxy or WAF logs. No published IOCs.
let Since = datetime(2026-11-01);
union isfuzzy=true
(CommonSecurityLog | where TimeGenerated >= Since
 | extend src=coalesce(SourceIP, SourceTranslatedAddress, ""), uri=coalesce(RequestURL, RequestContext, ""), method=RequestMethod, body=AdditionalExtensions, blob=tolower(strcat(RequestURL, " ", AdditionalExtensions, " ", Message))),
(W3CIISLog | where TimeGenerated >= Since
 | extend src=cIP, uri=csUriStem, method=csMethod, body="", blob=tolower(strcat(csUriStem, "?", csUriQuery, " ", csUriQuery)))
| where blob has_any ("getfeaturebyid","urn:ogc:def:query:ogc-wfs::getfeaturebyid","createstoredquery","dropstoredquery","service=x/wfs","service=x%2fwfs","/geoserver","/ows","/wfs")
| extend signal = case(
    blob has_any ("getfeaturebyid","urn:ogc:def:query:ogc-wfs::getfeaturebyid") and blob has_any ("xi:include","xmlns:xi","%3cxi"), "getfeaturebyid_xinclude",
    blob has_any ("getfeaturebyid","urn:ogc:def:query:ogc-wfs::getfeaturebyid") and blob has_any ("<","%3c","&lt;"), "getfeaturebyid_xml_metachar",
    blob has_any ("service=x/wfs","service=x%2fwfs") or blob matches regex @"(?i)(?:^|&|[?])service=[^&\"']*/", "prefixed_service_param",
    blob has_any ("createstoredquery","dropstoredquery"), "stored_query_admin",
    "geoserver_wfs")
| where signal in ("getfeaturebyid_xinclude","getfeaturebyid_xml_metachar","prefixed_service_param","stored_query_admin")
| summarize count(), first=min(TimeGenerated), last=max(TimeGenerated), methods=make_set(method), signals=make_set(signal), uris=make_set(uri) by src
| sort by count_ desc
// URI query strings and WFS XML bodies are not in Defender XDR by default — use the Splunk or Sentinel tabs against proxy/WAF logs for GetFeatureById and service=x/WFS. This hunts network connections to inventoried GeoServer hosts, and process activity on enrolled servers running GeoServer / Java. Replace YOUR_GEOSERVER_IPS. No published IOCs.
let Since = datetime(2026-11-01);
let GeoIps = dynamic(["YOUR_GEOSERVER_IPS"]);
union isfuzzy=true
(DeviceNetworkEvents | where Timestamp >= Since
 | where RemoteIP in (GeoIps) or LocalIP in (GeoIps)
 | extend signal="network_to_or_from_geoserver", src=InitiatingProcessAccountName, detail=strcat(RemoteIP, ":", RemotePort, " ", RemoteUrl)),
(DeviceProcessEvents | where Timestamp >= Since
 | where FolderPath has_any (@"geoserver", @"GeoServer") or ProcessCommandLine has_any ("geoserver","start.jar")
 | where InitiatingProcessFileName in~ ("java","java.exe","javaw.exe") or FileName in~ ("java","java.exe","javaw.exe")
 | extend signal="geoserver_java_process", src=DeviceName, detail=ProcessCommandLine)
| summarize count(), first=min(Timestamp), last=max(Timestamp), details=make_set(detail) by signal, src
| sort by count_ desc
// Elastic EQL. WFS GetFeatureById with XML/XInclude in the ID, prefixed service= parameter (e.g. x/WFS), CreateStoredQuery / DropStoredQuery. Needs web, proxy or WAF logs; body fields help catch POSTs. No published IOCs.
any where @timestamp >= "2026-11-01T00:00:00Z" and (
  (url.query : ("*GetFeatureById*", "*urn:ogc:def:query:OGC-WFS::GetFeatureById*") and url.query : ("*xi:include*", "*xmlns:xi*", "*%3C*", "*<*>"))
  or url.query : ("*service=x/WFS*", "*service=x%2FWFS*", "*service=x%2fwfs*")
  or url.query : ("*CreateStoredQuery*", "*DropStoredQuery*")
  or http.request.body.content : ("*xi:include*", "*GetFeatureById*", "*CreateStoredQuery*", "*service=\"x/WFS\"*")
)
// Falcon LogScale (CQL). Prefixed service= / GetFeatureById / XInclude / stored-query admin strings in ingested proxy or WAF logs; plus process events on hosts running GeoServer. Network-only sensors will miss the URI hunts — use the Splunk/Sentinel tabs. Set the time range from Nov 1, 2026. No published IOCs.
(@rawstring=/GetFeatureById/i and @rawstring=/(xi:include|xmlns:xi|%3Cxi)/i)
or (@rawstring=/service=x\/WFS/i or @rawstring=/service=x%2FWFS/i)
or @rawstring=/CreateStoredQuery/i
or @rawstring=/DropStoredQuery/i
or (#event_simpleName=ProcessRollup2 CommandLine=/geoserver/i)
-- Osquery (Linux GeoServer hosts). Point-in-time checks; run each query separately in osqueryi or as a fleet query.
-- Query 1: GeoServer version installed. The version is in the gs-main-<version>.jar name. Fixed: 3.0.2, 2.28.6, 2.27.7.
-- Paths cover Tomcat, the standalone/Jetty bundle and the official Docker image; add your install path if it differs.
SELECT path, filename, datetime(mtime, 'unixepoch') AS modified_utc
FROM file
WHERE path LIKE '/opt/%/webapps/geoserver/WEB-INF/lib/gs-main-%.jar'
   OR path LIKE '/usr/share/%/webapps/geoserver/WEB-INF/lib/gs-main-%.jar'
   OR path LIKE '/usr/local/tomcat/webapps/geoserver/WEB-INF/lib/gs-main-%.jar'
   OR path LIKE '/var/lib/tomcat%/webapps/geoserver/WEB-INF/lib/gs-main-%.jar';

-- Query 2: WFS stored queries in the data directory (the project says review wfs/query and workspaces/*/wfs/query).
-- Replace /var/geoserver/data with your GEOSERVER_DATA_DIR. Anything created or changed since Nov 23, 2026 that you did not add is a lead.
SELECT path, size, datetime(mtime, 'unixepoch') AS modified_utc
FROM file
WHERE (path LIKE '/var/geoserver/data/wfs/query/%'
    OR path LIKE '/var/geoserver/data/workspaces/%/wfs/query/%')
  AND mtime >= CAST(strftime('%s', '2026-11-23') AS INTEGER)
ORDER BY mtime DESC;

-- Query 3: shells or downloaders running right now under the GeoServer Java process (post-exploitation of the RCE chain).
SELECT p.pid, p.name, p.cmdline, pp.pid AS parent_pid, pp.cmdline AS parent_cmdline
FROM processes p
JOIN processes pp ON p.parent = pp.pid
WHERE pp.name = 'java' AND pp.cmdline LIKE '%geoserver%'
  AND p.name IN ('sh', 'bash', 'dash', 'curl', 'wget', 'nc', 'ncat', 'python3', 'perl');

Sigma rule checked with pySigma 1.5.1 and the SigmaHQ validators; it converts with the official Splunk, Kusto (KQL), Elastic EQL, Elastic Lucene, Elastic ES|QL, CrowdStrike LogScale backends. The platform tabs are hand-written versions of the same hunt, not raw conversions. None of these queries has been run against live data.

For educational and informational purposes only. Hunt queries and detection rules are provided as-is, without warranty, and have not been tested against your environment or live data. Review, test and tune them in a non-production setting before use. SockAnalyst is not responsible for any outcome of using this content. Always follow your organization's policies and the vendor's official guidance. Zero Trust applies here too: never trust, always verify.

See all hunt queries →

⏱ CISA deadline

CVE-2026-120705CVSS: not yet scored by NVD
--
Federal due 2026-11-30 · CISA KEV catalog
CVE-2026-129243CVSS: not yet scored by NVD
--
Federal due 2026-11-30 · CISA KEV catalog

Sources

Vendor advisories (primary)

Government and CERT

Press and other reporting

The triage, exposure and response facts on this page were checked against the sources above on 2026-11-28; rows marked SockAnalyst mapping are our own advice.

Related playbooks

Get the SockAnalyst Weekly Brief free, every Thursday.

One email a week with the KEV deadlines, patches and hunt queries that matter. New playbooks still post here on the site every morning.

Subscribe free

Read the free weekly pack →