GeoServer Flaws Under Attack, and They Chain to Unauthenticated RCE
watchTowr saw attackers probing GeoServer for CVE-2026-120705 and a service-rule bypass on Nov. 25. Researchers show the bugs chain to unauthenticated code execution on default installs. Patch to 3.0.2, 2.28.6 or 2.27.7.
Attackers started probing GeoServer for two freshly documented flaws a day after the advisories went out, and the bugs are links in a chain that ends in unauthenticated code execution. The Hacker News reports that watchTowr saw multiple IP addresses hit its honeypots early on Nov. 25, creating stored queries on GeoServer to check whether hosts were vulnerable, then deleting them. Eye Security, which found one of the bugs, counts more than 3,000 GeoServer instances online, many run by government agencies to publish map data.
For defenders
Exploited: CVE-2026-120705 (CVSS 8.6), XML injection in the WFS GetFeatureById stored query that allows unauthenticated file reads through XInclude, and CVE-2026-129243 (CVSS 8.8), which bypasses service security rules with a prefixed service name such as x/WFS. watchTowr’s quote to THN names CVE-2026-129244 (a stored-query error that leaks the data directory path) as the second bug, so treat both as in play. CVSS scores are from GeoServer’s GitHub advisories; NVD hasn’t published records yet.
The chains: Eye Security reads users.xml and security/config.xml with CVE-2026-120705, forges an admin “remember me” cookie with the predictable default key “geoserver” (CVE-2026-129245, CVSS 9.2), then loads a native library through an admin JDBC connection (CVE-2026-120704, CVSS 7.2). GeoServer’s maintainers and Rapid7’s Jonah Burgess describe a five-step version that ends in deserialization in the JDBC user and role services (CVE-2026-129242, CVSS 8.6). Both work on a default install, Linux or Windows. Exploitation status: probing KNOWN per watchTowr; no full RCE chain in the wild reported yet. Researchers have published technical write-ups. T1190 (Exploit Public-Facing Application), T1606.001 (Forge Web Credentials: Web Cookies).
Fix: GeoServer 3.0.2, 2.28.6 or 2.27.7 (the 2.27 line is unsupported), released Oct. 19; advisories followed Nov. 23 and 24. Changing the remember-me key alone doesn’t help, the maintainers say, because the same file read reveals it. Exposed servers should be checked for credential leaks and code execution.
What it means for you
GeoServer is the software behind many public map portals, especially at city, state and national agencies. If you don’t run it, nothing to do. If your organization publishes maps or GIS data online, ask whoever runs that server to confirm it’s on a patched version today: anyone on the internet can work through these bugs without a password and end up running their own code on it.
Do this now
- Upgrade every GeoServer to 3.0.2, 2.28.6 or 2.27.7; check the version under “About GeoServer”.
- Until then, restrict access to the server, or at least block outside requests to WFS stored-query operations.
- Search web logs from Oct. 19, 2026 onward for stored queries created and deleted in quick succession, and for service names like
x/WFS. - If you find either, rotate GeoServer admin passwords and the remember-me key, and check the server for unknown JDBC user services or new processes.
Source article: Hackers Exploit Two GeoServer Flaws as Researchers Warn of Unauthenticated RCE Chains
Publisher: The Hacker News (Ravie Lakshmanan)
Published: Nov. 25, 2026
URL: https://thehackernews.com/2026/11/hackers-exploit-two-geoserver-flaws-as.html
Executive Summary
Unattributed threat actors operating from multiple IP addresses began exploiting newly documented GeoServer vulnerabilities against watchTowr’s global honeypot network in the early hours of November 25, 2026, one to two days after GeoServer published advisories for flaws it had quietly patched in versions 3.0.2, 2.28.6 and 2.27.7 on October 19. watchTowr names CVE-2026-120705 (unauthenticated XML injection in the WFS GetFeatureById stored query, allowing XInclude file reads and outbound fetches) and CVE-2026-129243 (service security rules bypassed with a prefixed service name such as x/WFS), with one quote naming CVE-2026-129244 (stored-query exception that discloses the data directory path) instead; the observed activity was validation: create a stored query, confirm it exists, delete it. No actor name, campaign or follow-on payload has been reported. The same bugs anchor two published chains to unauthenticated remote code execution on default installs: Eye Security’s (file read of users.xml and security/config.xml, forging an administrator remember-me cookie from the stored password representation and the static key “geoserver” via CVE-2026-129245, then SQLite load_extension() through an administrator JDBC connection via CVE-2026-120704) and the five-step chain reported by Rapid7’s Jonah Burgess and confirmed by the maintainers, which ends with HSQLDB deserialization in the JDBC user and role services (CVE-2026-129242). The objective of full exploitation would be code execution as the GeoServer user on servers that often front government and critical-infrastructure geospatial data. Hunt leads, false positive expectations and indicators are detailed below; no detection rules, IP indicators or file hashes were published.
ATT&CK chain: Reconnaissance → Initial Access → Credential Access → Execution
Hunt Lead Grid
| Hunt Lead Level | Hunt Lead Name | ATT&CK | Risk of False Positives |
|---|---|---|---|
| 1 (Junior) | Stored Query Create, Check, Delete Probes | T1595.002 (Active Scanning: Vulnerability Scanning) | Low. Very few deployments create and drop WFS stored queries from outside; the hunt anchors on create and drop from the same unauthenticated source within minutes. |
| 2 (Pro) | Prefixed Service Names and XInclude in WFS Requests | T1190 (Exploit Public-Facing Application) | Low. Legitimate clients call WFS by its plain name and don’t send xi:include in feature identifiers; the rule anchors on a path segment before the service name and on XInclude markup. |
| 2 (Pro) | Admin Sessions from Remember-Me Cookies on New Sources | T1606.001 (Forge Web Credentials: Web Cookies) | Medium. Administrators legitimately tick “remember me”; the rule anchors on an admin session created from a cookie with no prior form login from that source. |
| 3 (Elite) | JDBC User Service Change Followed by GeoServer Child Process | T1190 (Exploit Public-Facing Application), T1059 (Command and Scripting Interpreter) | Low to Medium. JDBC services are configured rarely and deliberately; the correlation anchors on a config change from a remember-me session followed by the Java process spawning a shell or loading a new native library. |
Stored Query Create, Check, Delete Probes
watchTowr says the attackers “sent error-based exploit probes to validate that the server is vulnerable by creating and invoking stored queries,” then checked that the query existed and deleted it immediately. In WFS 2.0 terms that is a CreateStoredQuery request, a DescribeStoredQueries or ListStoredQueries (or an invocation of the new query through GetFeature), and a DropStoredQuery, from the same source within a short window and without an authenticated session. CVE-2026-129244 makes the error response from a stored query leak the data directory path, which is why error-producing queries are part of the probe. The hunt is any CreateStoredQuery and DropStoredQuery pair from one unauthenticated source, and any stored query whose definition contains XInclude markup, in GeoServer request logs or the logs of a fronting proxy.
GeoServer’s request logging is off by default, so start with the reverse proxy, load balancer or WAF in front of it, where WFS requests show up as GET parameters (request=CreateStoredQuery) or POST bodies; for POST you need body logging or a WAF that inspects XML. Sweep from October 19, 2026, the date the patches shipped and a determined attacker could start diffing them. watchTowr didn’t publish source IPs, so this is behavior, not indicators. Expect a few benign hits from GIS administrators testing stored queries; confirm against their known addresses. Treat any hit on an unpatched server as a probable compromise and continue with the remember-me and JDBC leads, because validation was the first step of a chain that ends in code execution.
Hunt Lead Level: 1 (Junior Analyst)
ATT&CK: Reconnaissance → T1595.002 (Active Scanning: Vulnerability Scanning)
Sources: “Hackers Exploit Two GeoServer Flaws as Researchers Warn of Unauthenticated RCE Chains”, The Hacker News, Nov. 25, 2026, https://thehackernews.com/2026/11/hackers-exploit-two-geoserver-flaws-as.html (source article)
Prefixed Service Names and XInclude in WFS Requests
Per the maintainers and Burgess, prefixing the service name, as in x/WFS, slips past the admin-only service security rule for stored queries (CVE-2026-129243), and GeoServer turns escaped text in a saved query into live xi:include elements. Eye Security exploits the identifier passed to the GetFeatureById stored query, which is inserted into a query template without escaping, to inject XInclude elements that read users.xml (usernames and password digests) and security/config.xml (the remember-me key), or fetch attacker-chosen HTTP or HTTPS URLs (CVE-2026-120705). Detection is any request whose path or service parameter has an extra segment before a GeoServer service name (/geoserver/x/wfs, service=x/WFS), any request carrying xi:include, XInclude or the XInclude namespace URI in a parameter or body, and any response that contains the strings users.xml content markers or rememberMe key fields.
Use WAF or proxy logs with request bodies, or an IDS with HTTP inspection on the segment in front of GeoServer. Normalize URL encoding before matching, since probes will encode angle brackets and slashes. Sweep from October 19, 2026. A WAF rule that blocks these patterns is a reasonable stopgap but not a fix, because other CVEs in the same chains reach different code paths. Hits returning 200 are incidents; rotate admin passwords and the remember-me key after patching, not before, because the same file read will reveal any new key on an unpatched server. The XInclude pattern generalizes to any Java XML service that builds documents from user input.
Hunt Lead Level: 2 (Pro)
ATT&CK: Initial Access → T1190 (Exploit Public-Facing Application); Credential Access → T1552.001 (Unsecured Credentials: Credentials In Files)
Sources: “Hackers Exploit Two GeoServer Flaws as Researchers Warn of Unauthenticated RCE Chains”, The Hacker News, Nov. 25, 2026 (source article); “Unauthenticated remote code execution vulnerability in GeoServer”, Eye Security, Nov. 24, 2026, https://labs.eye.security/unauthenticated-remote-code-execution-vulnerability-in-geoserver/ (additional source, same vulnerabilities)
Admin Sessions from Remember-Me Cookies on New Sources
With the stored password representation and the remember-me key, usually the static value “geoserver” (CVE-2026-129245), an attacker forges a remember-me cookie that GeoServer exchanges for a valid administrator JSESSIONID, without cracking the 100,000-iteration SHA-256 hash. The maintainers note that anyone holding an admin digest, from any file disclosure or a copy of the data directory, can log in this way. Detection is a new administrator web session established from a remember-me cookie when the same source never completed a form login, especially within minutes of a WFS stored-query or prefixed-service request from that source, and any admin web console or REST activity from an address outside the known administrator ranges.
GeoServer’s security audit logging and the servlet container’s access log record the session and the cookie’s presence; a proxy that logs cookie names (not values) works too. Baseline administrator source addresses over 30 days. Benign hits come from administrators on new networks; confirm by asking before closing. Don’t rely on changing the remember-me key on an unpatched server, which the maintainers say doesn’t help. Patching hardens the remember-me feature, so after upgrade, any remember-me admin session from an outside address is worth an alert on its own. Escalate any forged-looking admin session that precedes configuration changes.
Hunt Lead Level: 2 (Pro)
ATT&CK: Credential Access → T1606.001 (Forge Web Credentials: Web Cookies); Defense Evasion → T1550.004 (Use Alternate Authentication Material: Web Session Cookie)
Sources: “Hackers Exploit Two GeoServer Flaws as Researchers Warn of Unauthenticated RCE Chains”, The Hacker News, Nov. 25, 2026 (source article); “Unauthenticated remote code execution vulnerability in GeoServer”, Eye Security, Nov. 24, 2026 (additional source)
JDBC User Service Change Followed by GeoServer Child Process
The last step of both chains abuses administrator JDBC configuration. Eye Security registers a SQLite connection and uses load_extension() to run code from an uploaded native library (CVE-2026-120704); the five-step chain points a JDBC user service at an uploaded HSQLDB database whose bundled driver deserializes a stored value that runs commands (CVE-2026-129242). Both worked on Linux and Windows builds. The correlation joins a new or changed JDBC user or role service, or a new datastore with a SQLite or HSQLDB URL pointing at a file inside the GeoServer data directory, with, within minutes, the GeoServer Java process writing a .so or .dll, loading a library from the data directory, or spawning sh, bash, cmd.exe or powershell.exe.
Join GeoServer’s configuration change history (or file-integrity monitoring on security/usergroup and security/role in the data directory) with EDR process and image-load telemetry on the host. Java services rarely spawn shells, so the child-process half is a sound detection by itself; the join raises confidence and catches the native-library path, which might not spawn a shell. Sweep from October 19, 2026. Don’t hash-block the dropped library, which an attacker will rebuild per target. Any hit is code execution on the host: isolate it, preserve the data directory, and assume GeoServer’s stored datastore credentials are exposed. The lead applies to any Java application that lets administrators load JDBC drivers or database files.
Hunt Lead Level: 3 (Elite)
ATT&CK: Initial Access → T1190 (Exploit Public-Facing Application); Execution → T1059 (Command and Scripting Interpreter)
Sources: “Hackers Exploit Two GeoServer Flaws as Researchers Warn of Unauthenticated RCE Chains”, The Hacker News, Nov. 25, 2026 (source article); “Unauthenticated remote code execution vulnerability in GeoServer”, Eye Security, Nov. 24, 2026 (additional source)
Hash Appendix
GeoServer exploitation
No file hashes were published in the source article or the Eye Security write-up, which describe request patterns and a research demonstration only. No lookups in OTX AlienVault or VirusTotal were made for this report.
MD5s
(not available) # no attacker files published
SHA1s
(not available) # no attacker files published
SHA256s
(not available) # no attacker files published
References Appendix
- “Hackers Exploit Two GeoServer Flaws as Researchers Warn of Unauthenticated RCE Chains”, The Hacker News (Ravie Lakshmanan), Nov. 25, 2026, https://thehackernews.com/2026/11/hackers-exploit-two-geoserver-flaws-as.html
- “Unauthenticated remote code execution vulnerability in GeoServer”, Eye Security, Nov. 24, 2026, https://labs.eye.security/unauthenticated-remote-code-execution-vulnerability-in-geoserver/
- GeoServer security advisory GHSA-39mw-5chv-jh47 (CVE-2026-120705), https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
- GeoServer security advisory GHSA-rv5g-g2r9-58rj (CVE-2026-129243), https://github.com/geoserver/geoserver/security/advisories/GHSA-rv5g-g2r9-58rj
- GeoServer security advisory GHSA-hgm3-wq4h-8vvq (CVE-2026-129245), https://github.com/geoserver/geoserver/security/advisories/GHSA-hgm3-wq4h-8vvq
CVE at a glance
- CVSS
- 8.6 High (v3.1)
- Exploited in the wild
- Yes, on CISA’s KEV list since Nov 27, 2026
- Public exploit
- None reported in public exploit databases
- CVSS
- 8.8 High (v4.0)
- EPSS
- 71.2% chance of exploitation in the next 30 days (higher than 99.4% of CVEs)
- Exploited in the wild
- Yes, on CISA’s KEV list since Nov 27, 2026
- Public exploit
- Yes, reported in a Nuclei template
Data from NVD, FIRST EPSS and CISA KEV, refreshed automatically. We report whether public exploit code exists but never link to it: fake proof-of-concepts that infect researchers are common.