--- title: "GeoServer CVE-2026-120705 Exploited: Patch to 2.28.6+" url: https://playciso.com/blog/geoserver-cve-2026-120705-cve-2026-129243-exploited updated: 2026-11-26 section: Blog publisher: PlayCISO --- # GeoServer CVE-2026-120705 Exploited: Patch to 2.28.6+ > Attackers probe GeoServer CVE-2026-120705 (file read) and a service-security bypass, fixed in 2.27.7, 2.28.6 and 3.0.2. No RCE seen in the wild. Source: https://playciso.com/blog/geoserver-cve-2026-120705-cve-2026-129243-exploited · Published: 2026-11-26 · Publisher: PlayCISO (https://playciso.com) Primary source: https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47 --- **Attackers are probing internet-facing GeoServer instances with two flaws the project fixed in October and disclosed on 23 November 2026.** On 25 November watchTowr reported that its honeypots saw "error-based exploit probes to validate that the server is vulnerable by creating and invoking stored queries" (as [SecurityWeek](https://www.securityweek.com/two-newly-disclosed-geoserver-vulnerabilities-under-attack/) quotes it). The flaws are [CVE-2026-120705](https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47), which lets one unauthenticated request read local files or make the server fetch a URL, and a bypass of GeoServer's service security that lets anonymous users call restricted OWS operations. Researchers have described chains from these bugs to remote code execution; **no source reports that the attacks went that far**. Upgrade to GeoServer 2.27.7, 2.28.6 or 3.0.2. **Who this is for:** CISOs and vulnerability-management leads, and anyone who runs GIS or mapping services: GeoServer often sits on the internet in government, utilities, transport and environmental agencies. *Based on GeoServer's GitHub security advisories and 3.0.2 release notes, Eye Security's research post and the CISA KEV catalog, read on 26 November 2026. We could not open watchTowr's own post; its words are quoted as SecurityWeek reports them. PlayCISO is not affiliated with any of them. We publish no exploit details.* Confirmed vs not yet known **GeoServer confirms (advisories, 23 Nov 2026):** CVE-2026-120705 (CVSS 3.1 8.6) gives unauthenticated local file read and server-side request forgery through the WFS GetFeatureById stored query; CVE-2026-129243 (CVSS 4.0 8.8) lets anonymous users call OWS operations restricted only by service security, including creating and deleting WFS stored queries; both are fixed in 2.27.7, 2.28.6 and 3.0.2. GeoServer says both were reported as steps of an unauthenticated remote command execution chain. **watchTowr reports (25 Nov, via SecurityWeek):** exploit probes in the wild that create and invoke stored queries, apparently to find vulnerable servers. **Not confirmed in the wild:** remote code execution. The five-step chain in GeoServer's advisories and the three-step chain Eye Security demonstrated are research results. No source we read says either has been used in an attack, names an attacker or a victim, or says data was taken. **Unsettled:** the second CVE. SecurityWeek names CVE-2026-129243; a watchTowr quote carried by The Hacker News names CVE-2026-129244 (a data-directory path leak, step 1 of the chain). We could not open watchTowr's post to check. CISA had not added any of these CVEs to KEV as of its 25 November catalog. ## The flaws, and what each one does | CVE | What it is (GeoServer advisory) | Login needed | Score | Status | | --- | --- | --- | --- | --- | | CVE-2026-120705 | XML injection in the WFS GetFeatureById stored query: read local files, fetch attacker-chosen URLs, get the content back in an error. File contents return only if a layer is published to anonymous users | No | CVSS 3.1 8.6 | Probed in the wild (watchTowr) | | CVE-2026-129243 | Service security bypassed with a prefixed service name such as x/WFS: anonymous users can create and delete WFS stored queries | No | CVSS 4.0 8.8 | Probed in the wild per SecurityWeek | | CVE-2026-129244 | An overlong stored query id makes the error message reveal the absolute data directory path | No | CVSS 4.0 6.9 | Named in one watchTowr quote; chain step 1 | | CVE-2026-129245 | The remember-me cookie key ships as "geoserver"; with it and an admin password digest, an attacker can forge an admin login | No | CVSS 4.0 9.2 | Chain step 4; not reported exploited | | CVE-2026-129242 | Deserialization in JDBC user and role services: administrator code execution | Admin (or a hijacked admin session) | CVSS 4.0 8.6 | Chain step 5; not reported exploited | | CVE-2026-120704 | SQLite JDBC extension loading: administrator code execution | Admin | See advisory | Used in Eye Security's chain; not reported exploited | All six are fixed in GeoServer **2.27.7, 2.28.6 and 3.0.2**, which carry many more security fixes: the [3.0.2 release notes](https://github.com/geoserver/geoserver/releases/tag/3.0.2) list 16 CVEs, including SSRF and file-read flaws in WPS and printing, a GeoWebCache arbitrary file write and an X-Forwarded-For bypass of IP rules. Affected: 2.27.6 and earlier, 2.28.0 to 2.28.5, 3.0.0 to 3.0.1. For CVE-2026-120705 the GeoTools library (gt-metadata) is fixed in 33.7, 34.6 and 35.2, which matters if you embed GeoTools in your own applications. Eye Security says the 2.27.x series is no longer officially supported. ## Why researchers talk about remote code execution GeoServer's [remember-me advisory](https://github.com/geoserver/geoserver/security/advisories/GHSA-hgm3-wq4h-8vvq) lists five bugs reported together as an unauthenticated remote command execution chain: learn the data directory path (CVE-2026-129244), bypass service security to create a stored query (CVE-2026-129243), use the XML injection to read files (CVE-2026-120705), forge an administrator session with the default remember-me key (CVE-2026-129245), then run code through JDBC user and role services (CVE-2026-129242). [Eye Security](https://labs.eye.security/unauthenticated-remote-code-execution-vulnerability-in-geoserver/) describes a shorter route it demonstrated on Linux and Windows: read users.xml through CVE-2026-120705, forge an admin cookie (CVE-2026-129245), then load a native library through a SQLite JDBC connection (CVE-2026-120704). GeoServer warns that changing the key "does not help when the same file disclosure also reveals the key"; the fixed releases generate a random key per node and invalidate existing remember-me cookies. The point for defenders: the probes watchTowr saw are the first steps of these chains. A server that answered them has to be treated as one where files readable by GeoServer, including password digests and the remember-me key, may have been read. ## Timeline | Date | Event | Source | | --- | --- | --- | | October 2026 | GeoServer 3.0.2 is released with 16 security fixes and 2.27.7 is published on 18 October with the same fixes (GitHub shows 3.0.2 tagged 17 October; Eye Security says 3.0.2 and 2.28.6 came out on 19 October) | GeoServer 3.0.2, 2.27.7 releases, Eye Security | | 23 November 2026 | GeoServer publishes the advisories for CVE-2026-120705, CVE-2026-129243, CVE-2026-129244, CVE-2026-129245 and the rest, including the five-step chain | GeoServer advisories | | 24 November 2026 | Eye Security publishes its research on unauthenticated remote code execution in GeoServer | Eye Security | | 25 November 2026 | watchTowr reports exploit probes in the wild that create and invoke stored queries | watchTowr on X (not opened by us), via SecurityWeek | | 25 November 2026 | CISA KEV catalog 2026.11.25 does not list the new GeoServer CVEs | CISA KEV | ## What security leaders should do this week - Find every GeoServer instance, including ones inside other products and GIS stacks, and note which the internet can reach. The version is on the "About GeoServer" page under Build Information. - Upgrade to 2.28.6 or 3.0.2 (2.27.7 if you must stay on 2.27, which is no longer officially supported). Patch internet-facing servers first. Update GeoTools to 33.7, 34.6 or 35.2 in any application that embeds it. - If you cannot patch today, use GeoServer's workarounds: restrict or disable WFS for anonymous users (disable WFS if you do not use it), block requests whose service parameter contains a slash at the proxy in front of GeoServer, and remove rememberme from the web filter chain. - Hunt on exposed servers: review the wfs/query and workspaces/*/wfs/query data directory folders for stored queries you did not create, and look in access logs for stored-query requests from unknown sources since October. - Assume files may have been read on any exposed, unpatched server: change GeoServer administrator passwords (GeoServer advises this if exposure is suspected), rotate database and service credentials stored in the data directory, and check for new administrator sessions or configuration changes. - Restrict outbound traffic from GeoServer: CVE-2026-120705 can make it fetch attacker-chosen URLs, including cloud metadata services. - Rank and track it: these CVEs are not in KEV yet, so do not wait for a federal due date. Check status in the [KEV checker](/tools/kev-checker), look up scores in [EPSS lookup](/tools/epss-lookup), decide urgency with the [SSVC calculator](/tools/ssvc-calculator) (exploitation: active probing) and order the work in the [vulnerability prioritizer](/tools/vulnerability-prioritizer). ## GeoServer's track record in KEV This is not the first time attackers have gone after GeoServer quickly. The CISA KEV catalog already lists three GeoServer flaws: CVE-2022-24816 (JAI-EXT code injection, added June 2024), CVE-2024-36401 (GeoTools eval injection, added July 2024) and CVE-2025-58360 (XML external entity, added December 2025). Servers that missed those patches are likely to miss these too. ## Frequently asked questions ### Which GeoServer vulnerabilities are being exploited? watchTowr reported on 25 November 2026 that its honeypots saw attackers send "error-based exploit probes to validate that the server is vulnerable by creating and invoking stored queries", as SecurityWeek quotes it. SecurityWeek names the two CVEs as CVE-2026-120705 and CVE-2026-129243; one watchTowr quote carried by another outlet names CVE-2026-129244 instead of CVE-2026-129243. We could not open watchTowr's own post, so treat the second CVE as unsettled and patch all of them. ### What is CVE-2026-120705? Per GeoServer's advisory (23 November 2026), the built-in WFS 2.0 GetFeatureById stored query inserted the caller's ID value into an XML template without escaping and parsed it without GeoServer's entity resolver. One unauthenticated request can then read local files the GeoServer process can read and make the server fetch attacker-chosen HTTP or HTTPS URLs. File contents come back only if a layer is published to anonymous users. CVSS 3.1 8.6. ### What is CVE-2026-129243? Per GeoServer's advisory, a service parameter with a prefix such as x/WFS was resolved to WFS by the dispatcher, but service security checked the unresolved name, so no rule matched. Any OWS operation restricted only by service security rules could be called without logging in; with default settings, anonymous users could create and delete WFS stored queries. Layer and data security rules still apply. CVSS 4.0 8.8. ### Has remote code execution been seen in the wild? No source we read says so. What is reported in the wild is probing to find vulnerable servers. GeoServer's own advisories describe a five-step chain to unauthenticated command execution, and Eye Security demonstrated a three-step chain in its research, but neither says those chains have been used in attacks. ### Which GeoServer versions fix these flaws? GeoServer 2.27.7, 2.28.6 and 3.0.2. Affected: 2.27.6 and earlier, 2.28.0 to 2.28.5 and 3.0.0 to 3.0.1. For CVE-2026-120705 the GeoTools library is fixed in 33.7, 34.6 and 35.2. Eye Security notes that the 2.27.x series is no longer officially supported, so plan to move to 2.28.6 or 3.0.2. ### Are the GeoServer CVEs in CISA KEV? Not as of the KEV catalog released on 25 November 2026 (version 2026.11.25). Earlier GeoServer flaws are listed: CVE-2022-24816, CVE-2024-36401 and CVE-2025-58360. Check the KEV checker for updates. ### What can I do if I cannot patch GeoServer today? GeoServer's advisories list workarounds: restrict or disable WFS for anonymous users (or disable WFS if you do not need it); block requests whose service parameter contains a slash at a proxy in front of GeoServer; remove rememberme from the web filter chain, or change the remember-me key to a long random value and keep the data directory from being disclosed. Then review the wfs/query and workspaces/*/wfs/query folders for stored queries you did not create. ### Was GeoServer hacked? No breach of the GeoServer project is reported. These are vulnerabilities in GeoServer software. The exposure is to organisations running unpatched GeoServer instances that the internet can reach. ## Sources - [GeoServer security advisory GHSA-39mw-5chv-jh47: Unauthenticated WFS GetFeatureById XML injection, CVE-2026-120705 (23 November 2026)](https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47) - [GeoServer security advisory GHSA-rv5g-g2r9-58rj: Service security rules bypassed with a prefixed service name such as x/WFS, CVE-2026-129243 (23 November 2026)](https://github.com/geoserver/geoserver/security/advisories/GHSA-rv5g-g2r9-58rj) - [GeoServer security advisory GHSA-4v26-c537-jvxc: WFS stored query exception discloses data directory path, CVE-2026-129244 (23 November 2026)](https://github.com/geoserver/geoserver/security/advisories/GHSA-4v26-c537-jvxc) - [GeoServer security advisory GHSA-hgm3-wq4h-8vvq: Predictable remember-me key allows administrator session forgery, CVE-2026-129245, with the five-step chain (23 November 2026)](https://github.com/geoserver/geoserver/security/advisories/GHSA-hgm3-wq4h-8vvq) - [GeoServer security advisory GHSA-9wf2-fcgq-vxhq: CVE-2026-129242](https://github.com/geoserver/geoserver/security/advisories/GHSA-9wf2-fcgq-vxhq) and [GHSA-wc3v-48j7-xf57: CVE-2026-120704](https://github.com/geoserver/geoserver/security/advisories/GHSA-wc3v-48j7-xf57) - [GeoServer 3.0.2 release notes (GitHub)](https://github.com/geoserver/geoserver/releases/tag/3.0.2), [2.28.6](https://github.com/geoserver/geoserver/releases/tag/2.28.6) and [2.27.7](https://github.com/geoserver/geoserver/releases/tag/2.27.7) - [Eye Security: Unauthenticated remote code execution vulnerability in GeoServer (24 November 2026)](https://labs.eye.security/unauthenticated-remote-code-execution-vulnerability-in-geoserver/) - [CISA Known Exploited Vulnerabilities catalog (version 2026.11.25)](https://www.cisa.gov/known-exploited-vulnerabilities-catalog) - [watchTowr on X (25 November 2026): the in-the-wild report; we could not open it](https://x.com/watchtowrcyber/status/2125547398021693623) - [SecurityWeek: Two newly disclosed GeoServer vulnerabilities under attack (25 November 2026), for watchTowr's quote](https://www.securityweek.com/two-newly-disclosed-geoserver-vulnerabilities-under-attack/)