GeoServer wave (16 GHSAs): an unauthenticated WFS request chains to RCE, KEV'd four days later¶
Date reviewed: 2026-11-27 (vendor advisories published 2026-11-23 22:08-22:14Z; CISA KEV added 2026-11-27) Product: OSGeo GeoServer (core + bundled extensions/community modules). Fixed releases: 2.27.7, 2.28.6, 3.0.2; the schema-validation legs additionally require GeoTools 33.7 / 34.6 / 35.2, and the print leg mapfish-print-v2 2.3.7 / 2.4.2 / 2.5.1. Boundary class: unauthenticated OWS protocol surface (WFS stored queries, OGC API, WPS, CSW, printing) crossing into file read, SSRF, admin session forgery, and finally code execution inside the GeoServer process. KEV: CVE-2026-120705 and CVE-2026-129243 added 2026-11-27 (catalog 2026.11.27, due 2026-11-30); CISA's own entry text names the five-step chain to unauthenticated RCE. GHSA 11-23 to KEV 11-27 = four-day lag, inside the vendor-confirmed days-not-weeks calibration.
Wave in one line: GeoServer shipped sixteen advisories at once, and four of them are explicitly numbered steps 1, 2, 3, 4, 5 of a single unauthenticated remote-code-execution chain that anyone can replay today: leak the data directory path from a WFS exception, bypass service-security role checks with service=x/WFS, inject XML into the built-in GetFeatureById stored query to read security/config.xml, forge an admin remember-me cookie with the shipped default signing key, and detonate Java deserialization in the JDBC user/role services.
Why this is worth an operator page¶
This is a default-install, internet-facing GIS server with a vendor-documented, step-numbered unauth-to-RCE chain and a KEV entry four days after disclosure. Every GeoServer asset you find on a target estate is now a priority target class. The chain is also a textbook lesson in chaining low-severity "not harmful by itself" legs into full compromise, and several legs generalize far beyond GeoServer.
The chain, leg by leg (the CISA-confirmed spine)¶
- Path disclosure via overlong stored query id (CVE-2026-129244 / GHSA-4v26-c537-jvxc, medium). A WFS stored query request with an id longer than the filesystem name limit fails with a file-system error, and the WFS exception report includes the absolute data directory path. Labeled "not harmful by itself", but every later
file:reference needs it. - Service-security bypass with a prefixed service name (CVE-2026-129243 / GHSA-rv5g-g2r9-58rj, high, KEV).
Dispatcher.findServicestrips everything up to/to pick the service, soservice=x/WFSruns WFS; butOperationSecurityCallbackmatched rules against the raw stringx/WFS, matched no rule, and skipped the role check. Default rules restrictCreateStoredQuery/DropStoredQueryto admins, so anonymous users gain stored-query creation, the entry point for step 3. Installations that restrict other operations (e.g. WFSTransaction) this way lose that protection too. - Unauthenticated XML injection in
GetFeatureById(CVE-2026-120705 / GHSA-39mw-5chv-jh47, high CVSS 8.6, KEV). The built-in WFS 2.0 stored query substitutes the caller'sIDinto<fes:ResourceId rid='${ID}'/>with plain string replacement, then parses the result withnew Parser(new WFSConfiguration())without GeoServer's entity resolver. A single unauthenticatedGetFeaturerequest closes theridattribute, injectsxi:includeor external entities, reads any local text file readable by the process, or fetches an attacker-chosen HTTP(S) URL; fetched text comes back in theIllegal property nameerror response. No auth, no CreateStoredQuery needed for this leg itself. Contents echo when a layer is published anonymously; otherwise the read still occurs (error-shape observable). - Predictable remember-me key (CVE-2026-129245 / GHSA-hgm3-wq4h-8vvq, critical). The remember-me cookie is signed with a key read from
security/config.xml, and the release data directory ships the keygeoserver, which most installs never change. The signature uses the stored password digest, not the password, so anyone holding a digest plus the key mints a valid administrator login cookie. From step 3's file read, you hold both. Fix moves the key out of the data directory to a per-node random value. - Deserialization in JDBC user/role services (CVE-2026-129242 / GHSA-9wf2-fcgq-vxhq, high).
JDBCUserGroupService/JDBCRoleServiceread property values withResultSet.getObject(); on an HSQLDBOTHERcolumn the bundled driver deserializes with an unrestrictedObjectInputStream. An admin (or anyone holding an admin session, i.e. step 4) uploads a database file via/rest/resource, points a JDBC user group service at it, and code runs as the GeoServer process user when users/roles load. Both the JDBC security module and HSQLDB ship in the standard distribution.
Chain-shape rules: (1) "Not harmful by itself" legs (path disclosure, rule-matching mismatch, string-replacement template) are chain ingredients, price the chain not the leg. (2) The CNA split the chain into separate CVEs at vendor request; always chase sibling advisories cross-referencing one chain ID (here GHSA-hgm3-wq4h-8vvq) instead of triaging each CVE standalone. (3) A shipped-default signing key defeats its own mitigation guidance: "change the key in config.xml" is useless when the same file read yields the key, so treat default-keys-in-data-directory as an independent finding class. (4) Dispatcher-vs-policy string asymmetry (normalize on route, match policy on raw) is the precedence-drift family again; probe every key=prefixed/CanonicalName shape against any string-matched authorization layer.
Unauthenticated SSRF and file-read cluster (extension-gated, default-anonymous where the extension is installed)¶
- WPS
gs:DownloadMapCapabilities SSRF (CVE-2026-120701 / GHSA-3x82-qq72-g4p3, high): thewps-downloadextension fetches the caller-suppliedCapabilitiesURL without consulting URL Checks, anonymous-accessible unless WPS process security says otherwise. Clean internal-network scanner on any host with wps + wps-download installed. - WPS inline VRT to native GDAL (CVE-2026-120706 / GHSA-5v3x-f56f-2xm8, high): inline raster input declared
image/tiffis offered to every registered format during detection; with the GDAL extension plus native GDAL, an inline VRT document is opened, and GDAL resolves/vsicurl/URLs and local files while opening, before any URL check could apply. Inline content carries no URL, so GeoServer's URL policy layer never sees the fetch. Content-dispatch-vs-declared-type rule: format sniffing on attacker bytes re-enters your input into a second parser with its own network/file semantics;GDAL_SKIP=VRTposture is an externally testable fingerprint. - Printing legend icon SSRF + local image read (CVE-2026-120709 / GHSA-9vfc-p7x6-xxwh, medium): mapfish-print validates layer URLs against the
hosts:allowlist but the legend renderer passeslegends[].iconstraight toloadImageFromUrl(), which acceptsfile://and anyhttp(s)://; local images embed into the returned PDF, SVG icons fetch further resources through Batik. Same sink-family asymmetry as every allowlist feature: enumerate every URL-consuming field in the same feature, not just the documented one. file://schemaLocation probing oracle (CVE-2026-129240 / GHSA-rg89-jmrw-x26f, medium): strict schema validation skipped the entity resolver at the top-level schema location, soxsi:schemaLocation=file://...on any validating OWS operation (WFSstrict=true, WCS 1.0/1.1.1, CSW, WPS, WMSvalidateSchema=true) returns different errors for exists-vs-is-XML. An unauthenticated filesystem probe; pair it with the XXE below or the GetFeatureById read.- Unauthenticated XXE via
xsi:schemaLocationDTD (CVE-2025-53607 / GHSA-cggp-wx63-hrxr, high, patched 2.28.4/2.27.6/3.0.0): attacker-hosted schema declares a nested external-entity DTD; file contents exfiltrate to the attacker server or return in the exception report. Shared OWS parser path, so blocking one service does not close it, test every endpoint family (GetRecords, WFS strict, WCS DescribeCoverage) for parser parity.
Access-control bypass cluster¶
- GeoFence and ACL modules trust
X-Forwarded-Forfor source-IP rules (CVE-2026-120707 / GHSA-37mm-jp7f-64jp, CVE-2026-120708 / GHSA-9j5h-q8xc-hppq, both high): both modules take the first XFF address as the client IP unless the header is absent, so a directly exposed GeoServer lets any client pick theaddressRangerule it matches, reading protected layers as an "allowed internal host". The pair is also an inventory lesson: the same header-trust defect shipped in two independent authorization modules; when you find one header-trust bug in a plugin ecosystem, grep sibling modules for the same API. - JWT Headers module validates identity, trusts roles header unvalidated (CVE-2026-120703 / GHSA-vv34-hm2r-7h59, high): low-priv valid identity JWT plus forged roles header mapped to
ROLE_ADMINISTRATOR= admin. Split-token identity/roles designs are the classic verified-claims-vs-unverified-claims asymmetry; battery: for every auth filter reading more than one credential carrier, remove/forged-swap each carrier independently and diff the resulting principal. - OGC API Styles write operations unauthenticated (CVE-2026-129294 / GHSA-65mr-5frw-93xf, high):
/ogc/styles/v1create/update/delete fall under the default anonymous filter chain with nostylesrules inservices.properties, while the equivalent/rest/stylesendpoints are admin-only. Alternate-API-family authorization drift (REST protected, OGC-API not) is the route-family parity rule with a named pair to test on any GeoServer install; also the no-account delivery channel for the stored XSS below. - CSW DirectDownload served when disabled (CVE-2026-120702 / GHSA-8w5h-q76f-7mc7, medium): the disable flag removed the link from records but the operation itself kept working. UI-visibility-vs-enforcement again; the negative-control battery: for every "disabled" feature, call the operation verb directly by name.
- Stored XSS in style editor Layer Preview (CVE-2026-129293 / GHSA-3xvw-cfcr-v3h7, high): style name lands unescaped inside a JavaScript string literal in the
ol-load.ftlFreeMarker template with auto-escaping off; workspace-admin-planted (or anonymous via the OGC API Styles leg) style name runs JS in the administrator's session when they open Layer Preview. Template-level autoescape-off islands inside an otherwise-escaping framework are the audit unit.
Admin-or-better legs (post-chain or post-phish value)¶
- SQLite JDBC
enable_load_extensionRCE (CVE-2026-120704 / GHSA-wc3v-48j7-xf57, high 7.2): JDBC security services accepted arbitrary driver class + connection URL + absolute DML/DDL paths; SQLite withenable_load_extension=trueplus a DML file containingSELECT load_extension(...)loads an attacker native library. On Windows both files can sit on an SMB share (UNC path), so nothing needs staging on the server; DML runs when the service is used (e.g. listing users), a second-order trigger. Fix is a driver/parameter allowlist, the canonical shape for "config field reaches a database connection string" boundaries; fingerprint which JDBC drivers are on the classpath before theorizing.
Replayable validation (lab only)¶
Preconditions: your own GeoServer in an affected band, disposable workspaces/layers, a VM snapshot to restore. Never drive the chain against a third-party host; on authorized external targets stay at the observation layer (route/decision tables, error shapes, version evidence).
- Exception-report path probe: request a stored query with an overlong id on your lab server; confirm the absolute data directory path appears pre-fix and a short generic error post-fix.
- Prefixed-service decision table: run
CreateStoredQueryanonymously withservice=WFS,service=x/WFS,service=/WFS, case variants, and XMLservice=attribute forms; record allowed/denied per row againstservices.properties. Audit predicate everywhere: does the authorization layer see the same normalized string the dispatcher used? - GetFeatureById read proof on your own box: inject a closing quote plus
xi:include href=file:///etc/passwd(or your canary file) intoIDon your own lab install, with one layer published anonymously to observe the echo channel and one not to observe the error-shape channel. Pair with thefile://schemaLocation probe to build the exists/is-XML oracle matrix. - Remember-me key check: on your lab install, confirm
security/config.xmlstill carriesgeoserveras the key, forge a cookie from a synthetic digest, and verify the admin session lands. Fingerprint for authorized recon: presence of the remember-me filter plus unrotated defaults is reportable without forging. - Header-trust decision tables: for GeoFence and ACL labs with an
addressRangerule, sendX-Forwarded-Forfirst-value swaps and confirm protected layer reads; for the JWT Headers lab, swap each credential carrier independently. - Extension inventory as recon: enumerate WFS/WCS/CSW/WPS/printing/GeoFence/ACL/JWT-headers presence from public surfaces (
GetCapabilities, error shapes,/ogc/styles/v1OPTIONS/GET) since the SSRF/XXE/file-read legs are extension-gated; the vendor page for each leg states its precondition.
Reporting heuristics¶
- Cite the chain (step numbers from GHSA-hgm3-wq4h-8vvq) when reporting any single leg on a real asset; the vendor and CISA both treat them as one RCE story, and a single-leg report undervalues itself.
- For the KEV legs, the reportable proof without touching data is: version evidence in-band, prefixed-service authorization mismatch (positive/negative pair on an operation you own), and exception-shape divergence. The file-read leg proves on your own lab install; on customer assets capture the error-shape signal, not file contents.
- Extension preconditions are findings, not dismissal: note which legs the install exposes.
Safety¶
Authorized lab instances or explicitly approved customer assets only. Proofs stay at error-shape/decision-table level on anything you do not own; no file:///etc/passwd-style reads of third-party content, no remember-me forging against real accounts, no native-library loading outside your VM, snapshots before JDBC/deserialization tests, and restore after.
Sources¶
- Vendor advisory update page (2026-11-23) and the sixteen GeoServer GHSAs linked above, including the chain-index advisory GHSA-hgm3-wq4h-8vvq
- CISA KEV entries CVE-2026-120705 and CVE-2026-129243 (added 2026-11-27, due 2026-11-30, chain language quoted from the KEV short descriptions)
- GeoTools sibling GHSA-mgjv-wp78-ccrq (schema-validation entity resolver)