# Active Exploitation of Newly Patched GeoServer Flaws and Unauthenticated RCE Chain (CVE-2026-120705, CVE-2026-129243, CVE-2026-129245, CVE-2026-120704, CVE-2026-129244, CVE-2026-129242)

> watchTowr reported on 2026-11-25 that attackers are actively exploiting two newly disclosed GeoServer flaws, sending error-based probes that create and invoke WFS stored queries. The maintainers and Eye Security document that the flaws chain into unauthenticated remote code execution on all supported GeoServer versions before 2.27.7, 2.28.6 and 3.0.2.

- **Published:** 2026-11-25T13:43:15Z
- **Last reviewed:** 2026-11-25T13:43:15Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6860
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-6860.png
- **ID:** TL-2026-6860
- **Severity:** CRITICAL (CVSS 9.2)
- **Category:** VULNERABILITY
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 9
- **CVEs:** CVE-2026-120705, CVE-2026-129243, CVE-2026-129245, CVE-2026-120704, CVE-2026-129244, CVE-2026-129242

## Description

GeoServer published six security advisories on 2026-11-23 (all supported branches affected: <=2.27.6, 2.28.0-2.28.5, 3.0.0-3.0.1). The Hacker News, citing a watchTowr post on X, reports that two of the flaws are being exploited in the wild; the article does not name which two, but the described probing (creating and invoking stored queries to trigger errors) matches CVE-2026-129243 (anonymous CreateStoredQuery via service prefix bypass) and CVE-2026-120705 (GetFeatureById stored-query XML injection). No threat actor, malware, or network IOCs have been published.

CVE-2026-120705 (CVSS 3.1 8.6, CWE-91/611/918): the built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById, reachable through public GetFeature, substitutes the caller-supplied ID into an XML template (<fes:ResourceId rid='${ID}'/>) by plain string replacement. Quotes and angle brackets break out of the attribute and inject FES elements; the result is parsed without the catalog entity resolver, so an injected xi:include resolves local files or attacker-chosen HTTP/HTTPS URLs (SSRF). File content is returned in an 'Illegal property name' error only if the layer is published to anonymous users. Eye Security reports this was used to read users.xml (usernames and salted SHA-256 password hashes, 100,000 iterations).

CVE-2026-129243 (CVSS 4.0 8.8, CWE-863): the dispatcher strips everything up to '/' in the service id (so x/WFS resolves to WFS) but OperationSecurityCallback matches service security rules against the raw value 'x/WFS', so no rule matches and admin-only operations such as CreateStoredQuery and DropStoredQuery run without a role check for anonymous users.

CVE-2026-129245 (CVSS 4.0 9.2, CWE-321/798): the remember-me cookie signing key is read from security/config.xml and ships as the value 'geoserver'. With the key plus an administrator password digest (obtainable through the file read), an attacker forges an admin remember-me cookie and obtains a valid session without the password. CVE-2026-129244 (CVSS 4.0 6.9, CWE-209): an overlong stored-query id returns a filesystem error that discloses the absolute data directory path, needed to build file: references.

Post-authentication code execution: CVE-2026-120704 (CVSS 3.1 7.2, CWE-94) lets an admin point a JDBC user/group, role or authentication service at SQLite with enable_load_extension=true and a DML file containing SELECT load_extension(...), loading an attacker-chosen native library into the GeoServer process (on Windows both the DML file and library can come from a UNC/SMB share). CVE-2026-129242 (CVSS 4.0 8.6, CWE-502) is an HSQLDB deserialization via ResultSet.getObject() in JDBCUserGroupService/JDBCRoleService after an admin uploads a database file through the REST API. The maintainers describe a five-step unauthenticated RCE chain: CVE-2026-129244 -> CVE-2026-129243 -> CVE-2026-120705 -> CVE-2026-129245 -> CVE-2026-129242 (Eye Security's three-CVE variant uses 120705 -> 129245 -> 120704). Eye Security reported the issues on 2026-09-29.

Note on dates: the advisories are dated 2026-11-23; GitHub shows tags 3.0.2 (2026-10-17), 2.27.7 (2026-10-18) and 2.28.6 (2026-11-02), while Eye Security's blog says fixed releases shipped 2026-10-19 and the intake report cites patches on 2026-11-24 - date sources conflict. Not confirmed on CISA KEV in the portion of the catalog checked (entries 2026-11-03 to 2026-11-24). A separate earlier GeoServer zero-day (August 2026) is tracked as its own threat.

## MITRE ATT&CK

- T1595 Active Scanning
- T1190 Exploit Public-Facing Application
- T1552 Unsecured Credentials
- T1606 Forge Web Credentials
- T1005 Data from Local System
- T1078 Valid Accounts
- T1129 Shared Modules

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**GeoServer WFS Prefix Bypass and Stored Query Abuse - Exploitation (CVE-2026-129243 / CVE-2026-120705)** (`TL-2026-6860-SPL-001`)

Behaviour-first detection of GeoServer WFS exploitation in TL-2026-6860: service parameters containing a slash (service=x/WFS) that bypass service security rules, anonymous CreateStoredQuery/DropStoredQuery calls, and xi:include injection into the GetFeatureById stored query. Matches the error-based probing watchTowr observed in the wild and is the first step of the unauthenticated RCE chain.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1190, T1595
- **Data sources:** index=web sourcetype=access_combined, W3CIISLog, web server access logs
- **Severity:** critical
- **Confidence:** high

### Splunk SPL

````spl
```Detects TL-2026-6860 GeoServer WFS exploitation - CVE-2026-129243 service prefix bypass such as service=x/WFS and anonymous CreateStoredQuery or DropStoredQuery probing, plus CVE-2026-120705 GetFeatureById xi:include injection```
index=web sourcetype=access_combined (uri_path="*/wfs*" OR uri_path="*/ows*")
| eval q=lower(urldecode(coalesce(uri_query, "")))
| eval prefixed_service=if(match(q, "service=[^&]*/"), 1, 0)
| eval stored_query_write=if(match(q, "request=(create|drop)storedquery"), 1, 0)
| eval xinclude_inject=if(match(q, "xi:include|xmlns:xi|<xi:"), 1, 0)
| where prefixed_service=1 OR stored_query_write=1 OR xinclude_inject=1
| stats count AS hits sum(prefixed_service) AS prefixed_service_hits sum(stored_query_write) AS stored_query_hits sum(xinclude_inject) AS xinclude_hits min(_time) AS first_seen max(_time) AS last_seen values(status) AS statuses values(uri_path) AS paths BY src, host
| convert ctime(first_seen) ctime(last_seen)
| sort - hits
````

### Microsoft KQL

```kql
let lookback = 24h;
W3CIISLog
| where TimeGenerated > ago(lookback)
| where csUriStem has_any ("/wfs", "/ows")
| extend q = tolower(url_decode(coalesce(csUriQuery, "")))
| extend PrefixedService = q matches regex @"service=[^&]*/",
         StoredQueryWrite = q matches regex @"request=(create|drop)storedquery",
         XIncludeInject = q has_any ("xi:include", "xmlns:xi", "<xi:")
| where PrefixedService or StoredQueryWrite or XIncludeInject
| summarize Hits = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Statuses = make_set(scStatus, 10), Paths = make_set(csUriStem, 10) by cIP, sIP, PrefixedService, StoredQueryWrite, XIncludeInject
| order by Hits desc
```

### Sigma

```yaml
title: GeoServer WFS Service Prefix Bypass or Anonymous Stored Query Write (CVE-2026-129243)
id: 3b6f1c52-8a0e-4d27-9e41-6c7a2f0b5d11
status: experimental
description: Detects GeoServer WFS requests using a prefixed service name such as x/WFS to bypass service security rules, anonymous CreateStoredQuery or DropStoredQuery calls, and xi:include injection into GetFeatureById. Matches the in-the-wild error-based probing reported by watchTowr.
references:
    - https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
    - https://github.com/geoserver/geoserver/security/advisories/GHSA-rv5g-g2r9-58rj
    - https://labs.eye.security/unauthenticated-remote-code-execution-vulnerability-in-geoserver/
author: Threadlinqs Team
date: 2026-11-25
tags:
    - attack.initial-access
    - attack.t1190
    - attack.reconnaissance
    - attack.t1595
    - cve.2026-129243
    - cve.2026-120705
logsource:
    category: webserver
detection:
    selection_path:
        cs-uri-stem|contains:
            - '/wfs'
            - '/ows'
    sel_prefix:
        cs-uri-query|re: '(?i)service=[^&]*(/|%2f)'
    sel_storedq:
        cs-uri-query|contains:
            - 'request=CreateStoredQuery'
            - 'request=DropStoredQuery'
            - 'request%3DCreateStoredQuery'
            - 'request%3DDropStoredQuery'
    sel_xi:
        cs-uri-query|contains:
            - 'xi:include'
            - 'xi%3Ainclude'
            - 'xmlns:xi'
            - '%3Cxi%3A'
    condition: selection_path and 1 of sel_*
falsepositives:
    - Authorized vulnerability scanners
    - Administrators managing stored queries through a trusted network
level: high

```

**Known false positives:**

- Authorized vulnerability scanners probing WFS endpoints
- Admins using stored queries from a trusted management network

**Tuning notes:** Exclude known scanner and admin source IPs. Access logs only show GET query strings; for POST XML CreateStoredQuery with a prefixed service attribute, enable WAF or reverse-proxy body logging. Index and sourcetype names (web / access_combined) may need adjusting to your environment.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- GeoServer GetFeatureById XInclude Injection - Exploitation (CVE-2026-120705) (locked: unlock with TL Creds)
- GeoServer Admin REST Write From Non-Internal Source - Forged Admin Session (CVE-2026-129245) (locked: unlock with TL Creds)
- GeoServer JVM Loads Native Library From UNC or Temp Path - Post-Exploitation (CVE-2026-120704) (locked: unlock with TL Creds)
- GeoServer Overlong Stored Query ID Probe - Data Directory Path Disclosure (CVE-2026-129244) (locked: unlock with TL Creds)
- GeoServer REST JDBC Security Service Creation / Database Upload - Post-Exploitation (CVE-2026-129242) (locked: unlock with TL Creds)
- GeoServer JVM Spawning Shell or Download Utility - C2 / Tool Transfer (RCE Chain Follow-On) (locked: unlock with TL Creds)
- GeoServer Credential File Read via WFS XInclude - Post-Exploitation ([indicator] / [indicator]) (locked: unlock with TL Creds)
- GeoServer JVM Outbound SMB Connection - UNC Library Load / Lateral Movement (CVE-2026-120704) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [Hackers Exploit Two GeoServer Flaws as Researchers Warn of Unauthenticated RCE Chains (The Hacker News)](https://thehackernews.com/2026/11/hackers-exploit-two-geoserver-flaws-as.html)
- [watchTowr post on X reporting exploitation via stored queries](https://x.com/watchtowrcyber/status/2125547398021693623)
- [Eye Security: Unauthenticated remote code execution vulnerability in GeoServer](https://labs.eye.security/unauthenticated-remote-code-execution-vulnerability-in-geoserver/)
- [GHSA-39mw-5chv-jh47: Unauthenticated WFS GetFeatureById XML injection (CVE-2026-120705)](https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47)
- [GHSA-rv5g-g2r9-58rj: Service security rules bypassed with prefixed service name x/WFS (CVE-2026-129243)](https://github.com/geoserver/geoserver/security/advisories/GHSA-rv5g-g2r9-58rj)
- [GHSA-hgm3-wq4h-8vvq: Predictable remember-me key allows administrator session forgery (CVE-2026-129245)](https://github.com/geoserver/geoserver/security/advisories/GHSA-hgm3-wq4h-8vvq)
- [GHSA-wc3v-48j7-xf57: RCE via SQLite JDBC extension loading in JDBC security configuration (CVE-2026-120704)](https://github.com/geoserver/geoserver/security/advisories/GHSA-wc3v-48j7-xf57)
- [GHSA-4v26-c537-jvxc: WFS stored query exception discloses data directory path (CVE-2026-129244)](https://github.com/geoserver/geoserver/security/advisories/GHSA-4v26-c537-jvxc)
- [GHSA-9wf2-fcgq-vxhq: Deserialization in JDBC user and role services (CVE-2026-129242)](https://github.com/geoserver/geoserver/security/advisories/GHSA-9wf2-fcgq-vxhq)
- [GeoServer 3.0.2 release notes](https://github.com/geoserver/geoserver/releases/tag/3.0.2)
- [Unpatched GeoServer Zero-Day Targeted in Active Exploitation Attempts (prior separate GeoServer exploitation, The Hacker News)](https://thehackernews.com/2026/08/unpatched-geoserver-zero-day-targeted.html)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6860
