Detect OSGeo GeoServer Incorrect Authorization (CVE-2026-129243) in Elastic Security
Detects exploitation of CVE-2026-129243, an incorrect authorization vulnerability (CWE-863) in OSGeo GeoServer that is listed in the CISA KEV catalog. A service parameter with a prefix, such as service=x/WFS, is resolved to the real service by the dispatcher, but service security checks the unresolved name. No rule matches, so the operation runs without a role check. An unauthenticated user can invoke OWS operations that are restricted only by service security rules. Under the default configuration this allows creating and deleting WFS stored queries. The flaw is fixed in GeoServer 3.0.2, 2.28.6, and 2.27.7. Detection focuses on requests to GeoServer OWS and privileged paths that return successful (2xx) responses from sessions or source IPs that never completed authenticated administrative login, and on state-changing operations from low-privilege or unauthenticated contexts.
MITRE ATT&CK
Elastic Detection Query
// df00tech DF00-aa2a3ed7cd · https://df00tech.com/detections/CVE-2026-129243 · licence: https://df00tech.com/detections/licence
any where event.category == "web" and
stringContains(url.path, "/geoserver/") and
http.response.status_code >= 200 and http.response.status_code < 300 and
(url.path like "/geoserver/rest*" or url.path like "/geoserver/web*" or url.path like "/geoserver/ows*" or url.path like "/geoserver/wps*") and
(user.name == null or http.request.method in ("PUT", "POST", "DELETE")) Matches web events for successful access to privileged GeoServer paths without an authenticated user or via state-changing methods, indicating potential CVE-2026-129243 authorization-bypass exploitation.
Data Sources
Required Tables
False Positives & Tuning
- Upstream-authenticated admin traffic where user.name is not enriched.
- Service-account automation performing legitimate REST operations.
- Synthetic monitoring of GeoServer endpoints.
Other platforms for CVE-2026-129243
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 Unauthenticated GeoServer REST config access
Expected signal: Web/proxy access log entry showing a GET to /geoserver/rest/security/* with a 2xx response and no authenticated user.
- Test 2 Unauthorized GeoServer workspace enumeration
Expected signal: Access log entry: GET /geoserver/rest/workspaces.json returning 200 from an unauthenticated session.
- Test 3 Unauthorized state-changing REST operation
Expected signal: Access log entry: POST /geoserver/rest/workspaces returning 201/200 from an unauthorized context.
References (5)
- https://geoserver.org/vulnerability/2026/11/23/cve-update.html
- https://github.com/geoserver/geoserver/security/advisories/GHSA-rv5g-g2r9-58rj
- https://nvd.nist.gov/vuln/detail/CVE-2026-129243
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
- https://thehackernews.com/2026/11/hackers-exploit-two-geoserver-flaws-as.html
Response Playbook
Triage
- Confirm the targeted host is running OSGeo GeoServer and determine its exact version; cross-reference against the fixed versions 3.0.2, 2.28.6, and 2.27.7 in the GeoServer security advisory GHSA-rv5g-g2r9-58rj.
- Review the full request sequence from the source IP: identify which privileged REST/web/OWS/WPS endpoints returned 2xx responses and whether any state-changing (PUT/POST/DELETE) operations succeeded.
- Determine whether the requests carried valid authentication; correlate against GeoServer's own request/audit logs and the upstream proxy to establish if authorization was actually bypassed.
- Assess whether the source IP is internal, external, or a known scanner, and check it against threat intel for GeoServer KEV exploitation activity.
Containment
- Block the offending source IP(s) at the WAF/firewall and restrict GeoServer REST/admin endpoints to trusted management networks only.
- Apply the vendor patch from the GeoServer advisory immediately; if patching is not yet possible, disable or firewall off the GeoServer REST API and Web Processing Service.
- Rotate GeoServer administrator credentials and any service-account tokens that may have been exposed via the bypass.
Evidence Collection
- Preserve web server, reverse-proxy, and GeoServer application/audit logs covering the suspicious time window, including request bodies where captured.
- Capture the GeoServer data directory configuration (security/, workspaces, layer definitions) to detect unauthorized layer, store, or user modifications.
Escalation Criteria
- !Escalate to incident response if any state-changing REST operation (new user, layer, store, or config change) succeeded from an unauthorized context.
- !Escalate if evidence shows remote code execution or data exfiltration chained from the authorization bypass (e.g., via WPS or coverage store manipulation).
Investigation Guide
Forensic Artifacts
- >
GeoServer application and request audit logs (logs/geoserver.log, audit logs in the data directory). - >
Web server / reverse-proxy access logs showing 2xx responses to privileged GeoServer paths. - >
Modifications to the GeoServer data directory (security/users.xml, roles, workspaces, data stores).
Tuning Guidance
Baseline the legitimate administrative source IPs and service accounts that use the GeoServer REST API, then exclude them from alerting. Where authentication terminates at an upstream proxy, enrich logs with the real authenticated principal before applying the unauthenticated-user condition to reduce false positives. Narrow privileged path lists to match your deployment's enabled services (e.g., drop WPS if it is disabled).
Hunting Queries
Hunts for successful state-changing REST operations against GeoServer, which should be rare and tightly scoped to known administrators.
// df00tech DF00-aa2a3ed7cd · https://df00tech.com/detections/CVE-2026-129243 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem has "/geoserver/rest" and scStatus in (200,201,204) | where csMethod in ("PUT","POST","DELETE") | summarize count() by cIP, csUriStem, csMethod, bin(TimeGenerated, 1h) | order by count_ desc ``` df00tech DF00-aa2a3ed7cd · https://df00tech.com/detections/CVE-2026-129243 · licence: https://df00tech.com/detections/licence ```
index=web uri_path="/geoserver/rest*" (method=PUT OR method=POST OR method=DELETE) status>=200 status<300 | stats count by src_ip uri_path method | sort - count Atomic Red Team Tests
Attempt to read privileged GeoServer REST configuration without credentials to simulate the CVE-2026-129243 authorization bypass.
Command
curl -s -o /dev/null -w '%{http_code}' http://geoserver.lab.local:8080/geoserver/rest/security/self/password.json Cleanup
echo 'No cleanup required; read-only request.' Expected Telemetry
Web/proxy access log entry showing a GET to /geoserver/rest/security/* with a 2xx response and no authenticated user.
Expected Detection
KQL/SPL rules fire on successful privileged REST access lacking an authenticated username.
Enumerate GeoServer workspaces via the REST API without proper authorization to test the bypass.
Command
curl -s http://geoserver.lab.local:8080/geoserver/rest/workspaces.json -H 'Accept: application/json' Cleanup
echo 'No cleanup required; read-only enumeration.' Expected Telemetry
Access log entry: GET /geoserver/rest/workspaces.json returning 200 from an unauthenticated session.
Expected Detection
Detection matches privileged REST path access with a 2xx response and missing authentication.
Attempt to create a GeoServer workspace via an unauthorized PUT/POST to validate detection of successful state-changing operations from the bypass.
Command
curl -s -X POST -H 'Content-Type: application/json' -d '{"workspace":{"name":"atomic-test-ws"}}' http://geoserver.lab.local:8080/geoserver/rest/workspaces Cleanup
curl -s -X DELETE http://geoserver.lab.local:8080/geoserver/rest/workspaces/atomic-test-ws?recurse=true Expected Telemetry
Access log entry: POST /geoserver/rest/workspaces returning 201/200 from an unauthorized context.
Expected Detection
State-changing REST operation rules and hunting queries fire on the successful POST/PUT/DELETE.