GeoServer Flaws Exploited: Unauthenticated RCE Chain
Contents7
On 27 November 2026, the US CISA (Cybersecurity and Infrastructure Security Agency) added two vulnerabilities (CVE-2026-120705 and CVE-2026-129243) in GeoServer, an open-source server for publishing map data on the web, to its list of vulnerabilities with confirmed real-world exploitation (KEV). On 23 November, the GeoServer development team announced that by combining five vulnerabilities, including these two, an attacker could impersonate an administrator without logging in and run programs on the server.
This article is for companies that use GeoServer for in-house GIS (geographic information systems), facility and equipment management, web maps and similar purposes. It explains what the problem is, which version to update to, workarounds if you cannot update right away, and how to check for compromise. The fixed versions, GeoServer 3.0.2, 2.28.6 and 2.27.7, were released on 19 October 2026.
Key points
- The GeoServer development team explains that by chaining five vulnerabilities in sequence, an attacker can read files without logging in, forge an administrator's login state, and finally execute code.
- On 27 November, the US CISA added two of them to KEV. KEV is a list that only includes vulnerabilities with evidence of real-world exploitation.
- The fix is to update to 3.0.2 (stable), 2.28.6 (maintenance), 2.27.7 or later. The 2.27 series is already out of support, and 2.27.7 was released as a temporary measure.
- For any GeoServer reachable from outside, check whether there are any "stored queries" you do not recognize, and change the administrator password if anything looks suspicious.
9.2
Severity of CVE-2026-129245, the key link in the chain (CVSS 4.0, Critical)
5
Number of vulnerabilities in the chain leading to code execution without login
2
Of these, the number CISA added to KEV (27 November)
Key terms
GeoServer = An open-source server that publishes map and location data on the web in standard formats (WMS, WFS, etc.). It is written in Java and is often run on Apache Tomcat or similar.
WFS = A mechanism for retrieving the map shapes and attribute data themselves over the web. It is a standard GeoServer feature.
Stored query = A WFS feature that saves frequently used search conditions under a name. By default, only administrators are allowed to create and delete them.
remember-me (keeping you logged in) = A mechanism for "keep me logged in" on the admin console. It stores information signed with a key in a browser cookie.
KEV = CISA's Known Exploited Vulnerabilities catalog, a list of vulnerabilities with evidence of real-world exploitation. US federal agencies are required to address them by a deadline.
What is happening, and why is it dangerous?
According to the GeoServer development team, this issue was originally reported as a single chain leading to unauthenticated remote command execution. At the direction of the organization that assigns CVE numbers, each stage of the flow was given a separate number. The five stages described in the development team's security advisories (GHSA) are as follows.
| Stage | CVE ID | Description | Severity |
|---|---|---|---|
| 1 | CVE-2026-129244 | Sending an overly long stored query ID causes the location (full path) of the data directory to be shown in the error | Medium (6.9) |
| 2 | CVE-2026-129243 | Adding characters in front, as in service=x/WFS, bypasses the per-service permission check. With the default settings, stored queries can be created and deleted without logging in | High (8.8) |
| 3 | CVE-2026-120705 | XML can be injected through WFS "GetFeatureById". Without logging in, an attacker can read text files on the server or make it access a specified URL | High (8.6) |
| 4 | CVE-2026-129245 | In the data directory as distributed, the remember-me signing key remains "geoserver". If the key and the hash of the administrator password are known, an attacker can log in as administrator without knowing the password | Critical (9.2) |
| 5 | CVE-2026-129242 | An administrator can create user management settings using an uploaded database file, and code is executed when its contents are loaded | High (8.6) |
* The severity figures are the CVSS values given in the GHSAs (CVSS 3.1 for CVE-2026-120705 only; CVSS 4.0 for the others).
In other words, even if each one on its own only "reveals a path" or "allows a file to be read", chained together they could let an attacker take over the server. For stage 4, the GHSA notes that changing the key does not help if the key can also be obtained through the same file read. The fundamental fix is to update to a fixed version.
Exploitation status (as of 30 November 2026)
On 27 November, CISA added CVE-2026-120705 (stage 3) and CVE-2026-129243 (stage 2) to KEV. The deadline for US federal agencies is 30 November. The KEV description states that these two can be chained with the stage 1, 4 and 5 vulnerabilities to achieve code execution without login. The three vulnerabilities in stages 1, 4 and 5 are not listed in the 27 November version of KEV.
What kind of attacks are happening, where, and to what extent, the official sources we checked do not say. We also found no mention of exploitation in the GeoServer development team's 23 November post.
In Japan, we found no entries covering this issue in the lists of IPA "Important Security Information" and JPCERT/CC "Alerts" (checked on 30 November). It is also not mentioned in the JPCERT/CC Weekly Report (26 November issue). Note that GeoServer has been listed in KEV before, with CVE-2024-36401 (July 2024), CVE-2025-58360 (December 2025) and others, making it a product that attackers keep targeting.
Affected versions and fixed versions
| Series | Affected | Fixed version | Status |
|---|---|---|---|
| GeoServer 3.0 | 3.0.0 to 3.0.1 | 3.0.2 | Stable. Recommended for production use |
| GeoServer 2.28 | 2.28.0 to 2.28.5 | 2.28.6 | Maintenance |
| GeoServer 2.27 | 2.27.6 and earlier | 2.27.7 | End of support Released as a temporary measure. Users are asked to move to the stable or maintenance version |
| 2.26 and earlier | The GHSAs list everything "2.27.6 and earlier" as affected. The oldest fixed version is 2.27.7 | End of support. Migration to the 3.0 or 2.28 series is required | |
* All three fixed versions were announced on 19 October 2026. The development team's policy is to release fixed versions before publishing vulnerability details, and the details and CVE IDs were published on 23 November. If you installed the October fixed versions, all five of these issues are already fixed.
* The same fixed versions also fix more than ten other issues in total, including SSRF in the WPS extension (CVE-2026-120701, 120706), code execution in the JDBC security service (CVE-2026-120704) and arbitrary file write in GeoWebCache (CVE-2026-120710). If you use extensions, updating is all the more necessary.
The development team urges users to update to a supported version at least once a year. Because GeoServer runs on Java, please also check the update status of Java itself in "Responding to Java vulnerabilities", and, if you run it on Tomcat, "Tomcat vulnerabilities (November 2026)".
Workarounds if you cannot update right away
Each GHSA describes workarounds (Mitigation) for the period until you update. These are only stopgaps until the update.
| Target | Workaround (per the GHSA) | Notes |
|---|---|---|
| Stage 2 (CVE-2026-129243) | On a proxy in front of GeoServer, block requests whose service parameter contains / (both in the URL and in the service attribute of XML requests) | Do not forget to also block requests sent as XML |
| Stage 3 (CVE-2026-120705) | In the service security settings, restrict WFS for users who are not logged in. If you do not use WFS, disable it | If your public maps use WFS, check the impact first |
| Stage 4 (CVE-2026-129245) | Remove rememberme from the admin console's authentication settings (Security > Authentication, filter chain "web"). If you cannot remove it, change the key in security/config.xml to a long random value and make sure the data directory cannot be read | Changing the key alone is pointless if files can be read |
| Stage 5 (CVE-2026-129242) | Give administrator privileges only to trusted people, and allow the REST API's /rest/resource and /rest/security to be used only from trusted networks | As a rule, the admin console itself should not be reachable from the internet |
In the fixed versions such as 3.0.2, the remember-me key is no longer stored in the data directory, and a random key is used for each node. After updating, any existing "keep me logged in" sessions become invalid. If you run multiple nodes, set a shared key with GEOSERVER_REMEMBERME_KEY.
Checking for compromise
- Check the version and exposure
Check the version number in the admin console, for example on the "Server Status" page. Also check from a connection outside your company whether GeoServer's WFS, admin console (
/geoserver/web/) and REST API (/geoserver/rest/) can be reached from the internet. - Look for stored queries you do not recognize
The GHSA for CVE-2026-129243 advises checking the
wfs/queryandworkspaces/*/wfs/queryfolders in the data directory for stored queries that you did not create. The stage 3 attack uses stored queries created in this way as its entry point. - Review the access logs
In your web server or proxy logs, check for requests where
servicecontains/, requests toGetFeatureByIdwith unnaturally long IDs or symbols, and file uploads to/rest/resource(these are clues inferred from the GHSA descriptions). - Review the user management settings
In the admin console under "Security > Users, Groups, Roles", check whether any JDBC user or role services you do not remember creating have been added. Stage 5 uses these settings to run code.
- If anything looks suspicious, change passwords and rebuild
The GHSA advises that you change the administrator password if a leak is suspected. If you suspect code has been executed, rebuild the server and also change connection details, such as database credentials, that were stored in GeoServer.
What if you leave it? What if you act?
If left as is
- Files on the server may be read without login
- An attacker may impersonate an administrator and run programs on the server
- It may be used as a foothold into the databases GeoServer connects to or your internal network
If you update and check
- All the October fixes, including these five, are applied
- The remember-me key becomes random automatically, making forgery harder
- You can spot suspicious stored queries and settings
Leave it to Digi Dinos
Digi Dinos is a company that supports DX, security, and system operation and maintenance. We are ISO 27001 certified and also handle server and cloud operations and 24/7/365 monitoring (NOC). We also maintain systems built in Java and take over systems built by other companies.
- Current state review: We check your GeoServer version, extensions, what is reachable from outside, and your remember-me and REST API settings.
- Update support: Including migration from the 2.27 series or earlier, we carry over the data directory and verify operation using steps that do not stop your business.
- Operations takeover: We can also take over the operation of map systems and GIS servers that nobody has been updating since the contract with the company that built them ended.
Not sure whether your GeoServer is safe? Just ask (free consultation)
We can guide you in Japanese or English, from checking the version to updating and reviewing operations.
FAQ
We already updated in October. Do we need to do anything else?
If you have updated to 3.0.2, 2.28.6, 2.27.7 or later, these five issues are fixed. However, if the server was reachable from outside before the update, check for stored queries or settings you do not recognize. If you are using 2.27.7, it belongs to a series that is out of support, so please plan a migration to the 3.0 or 2.28 series.
We do not use WFS. Does this affect us?
WFS is a standard GeoServer feature and may be enabled even if you do not use it. The GHSA advises disabling WFS if you do not use it. In addition, stage 4 (remember-me) and stage 5 (JDBC user management) are problems in parts separate from WFS, so you still need to update.
It can only be used from our internal network. Do we need to hurry?
The risk is lower than when it is reachable from the internet, but if even one internal device is taken over, it could be targeted from there. Stages 1 to 3 can be used without login, so we recommend updating even if it is used only internally.
If we change the remember-me key, is it safe without updating?
No. The GHSA states that changing the key does not help if the key can also be obtained through a file read. Changing the key or removing remember-me is only a stopgap until the update; you still need to update to a fixed version.
References (checked on 30 November 2026)
- GeoServer, "CVE update" (23 November 2026)
- GeoServer, "GHSA-hgm3-wq4h-8vvq (CVE-2026-129245)", "GHSA-39mw-5chv-jh47 (CVE-2026-120705)", "GHSA-rv5g-g2r9-58rj (CVE-2026-129243)", "GHSA-4v26-c537-jvxc (CVE-2026-129244)", "GHSA-9wf2-fcgq-vxhq (CVE-2026-129242)" (all published 23 November 2026)
- GeoServer, "GeoServer 3.0.2 Release", "GeoServer 2.28.6 Release", "GeoServer 2.27.7 Release" (all 19 October 2026)
- CISA, "Known Exploited Vulnerabilities Catalog" (27 November 2026 version, adding CVE-2026-120705 and CVE-2026-129243)
- IPA, "Important Security Information (FY2026)", JPCERT/CC, "Alerts (2026)", JPCERT/CC, "Weekly Report 2026-11-26" (none of these mention this issue)