CISA added two GeoServer flaws to its Known Exploited Vulnerabilities catalogue on 2026-11-27, according to the NVD records for CVE-2026-120705 and CVE-2026-129243. The federal due date was 2026-11-30, and both records carry CISA's SSVC tag of active exploitation. If you publish maps, parcels, utility networks or inspection data through GeoServer, you probably have a WFS endpoint that answers strangers. These two bugs let a stranger read files and, in one case, change what your server stores.
What do the two flaws actually do?
CVE-2026-120705 is an XML injection in the built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById. The advisory explains that the caller's ID was dropped into an XML template with plain string replacement, so a quote and angle brackets could close the rid attribute and add new elements. The result was then parsed without GeoServer's entity resolver, so XInclude and external entities were resolved with ordinary URI access.
The impact, per the same advisory: one unauthenticated WFS request can read a local text file the GeoServer process can read, or fetch an attacker-chosen HTTP or HTTPS URL (server-side request forgery). Fetched text comes back in the "Illegal property name" error response. File contents are echoed when a layer is published to anonymous users. Otherwise the file is still read but not returned, which matters later when we talk about detection.
CVE-2026-129243 is the authorization bypass. Per its advisory, a request with service=x/WFS was resolved to WFS by the dispatcher, but service security checked the literal string x/WFS. No rule matched, so operations restricted by service security ran with no role check. By default that covers CreateStoredQuery and DropStoredQuery, so anonymous users could create and delete stored queries. The advisory adds that layer and data security rules still apply, and that installations restricting other operations this way, WFS Transaction for example, lose that protection too.
How do they chain?
The second advisory says stored queries created through the bypass are the entry point for the first flaw. The first advisory notes that no custom stored query or CreateStoredQuery access is required for the XML injection itself, so the bypass is an additional route and not a prerequisite.
The maintainers also describe a longer chain. A third advisory says these flaws were reported as steps in an unauthenticated remote command execution chain, fixed separately at the request of the CVE Numbering Authority. The chain includes a stored query exception that discloses the data directory path, and a remember-me cookie signed with a key that the release data directory ships as geoserver, which most installations never change. Anyone with that key and an administrator password digest, for example from a file disclosure, can forge an administrator cookie. The chain ends with deserialization in JDBC user and role services that allows administrator code execution.
Read that as a plausible attacker path: leak the path, read security/config.xml and the user file, forge the cookie, reach code execution. We have no source saying attackers in the wild ran the full chain. CISA's KEV entries cover only the two CVEs above, and the remaining steps are not on the list as of the NVD records we read.
Are we running an affected GeoServer?
Affected are GeoServer releases up to 2.27.6, 2.28.0 to 2.28.5, and 3.0.0 to 3.0.1. Fixed releases are 2.27.7, 2.28.6 and 3.0.2. GeoTools-based software that embeds gt-metadata is also in scope for the XML injection: fixed in 33.7, 34.6 and 35.2, per the NVD record. Check embedded copies, not just the standalone WAR.
A short inventory pass:
- List every host answering
/geoserver/ows,/geoserver/wfsor/geoserver/web/. Include test, staging and the instance a contractor stood up for one project. - Pull the version from the admin About page or the deployed JAR names (
gs-wfs-core,gs-ows), not from a spreadsheet. - Search your software inventory and container images for
gs-wfs-coreandgt-metadata, since GeoServer is often bundled by another product. - From outside, check which of those hosts are reachable from the internet at all. Our interrupt product does continuous external discovery for this kind of question, but a scan of your own public IP ranges and certificate names gets you most of the way.
What do we hunt for?
The vendor gives two concrete artefacts. First, review the data directory folders wfs/query and workspaces/*/wfs/query for stored queries you did not create. Any unexpected file there is a finding.
Second, search web and proxy logs for requests that match the exploit shapes. These are our suggestions built on the advisories, not vendor signatures, so tune them to your logging:
- A
serviceparameter, in the query string or in the XMLserviceattribute, containing/. The vendor's own mitigation is to block exactly this. - WFS requests invoking
GetFeatureByIdwith an ID containing quote characters,<,xi:includeorfile:andhttpURIs. - CreateStoredQuery or DropStoredQuery from any source that is not an administrator workstation.
- Responses containing "Illegal property name" with unusually large bodies.
Remember that file reads against unpublished layers are not echoed back, so an absence of leaked content in responses proves little. Treat any matching request as a read that may have succeeded. Because the data directory is the prize, if you find one, change the administrator passwords (the third advisory says to do so if you suspect exposure) and rotate every credential stored in GeoServer data stores.
How do we make a file read or SSRF stop at the server?
Patch first. The fix makes stored query parsing use GeoServer's entity resolver, and GeoTools' PreventLocalEntityResolver now checks redirects, per the advisory. If you cannot patch today, the vendor mitigations are to restrict or disable WFS for anonymous users with service security, or turn WFS off if unused. Since the bypass defeats service security on unpatched builds, pair that with a proxy rule rejecting any service value that contains /.
Then design for the next one. The SSRF half is the part egress control handles well:
- Egress deny by default. A map server rarely needs to call arbitrary URLs. Allow its database, its tile cache and named upstream services, and drop the rest, including link-local and internal management ranges.
- Split the roles. Run the public, read-only WFS and WMS instance separately from the one with the admin UI. Keep
/geoserver/web/off the internet entirely. - Shrink what a file read finds. Run the process as a user that can read the data directory and nothing else. Keep database passwords out of the data directory where the product allows it, and change the default remember-me key on older builds, which the fixed releases replace with a random per-node key.
- Log at the proxy. Capture full query strings and POST bodies for OWS endpoints, so the hunt above is possible after the fact.
For government and utility teams, the Canadian angle is practical. Public mapping services often sit beside operational data such as asset registers and service territories, so treat the GeoServer host as a boundary and not a brochure. We would put it in an architecture review with the network team before the next upgrade cycle.
This week: find every GeoServer you run, confirm it is on 2.27.7, 2.28.6 or 3.0.2, and read what is sitting in wfs/query.