GeoServer: WFS file read and a service security bypass, both exploited (CVE-2026-120705, CVE-2026-129243)
From the record.
- Updated 2026-11-30: NVD published CVE-2026-120705 and CVE-2026-129243 (status "Undergoing Analysis"), with the same CVSS scores as the project advisories. The other three records, GitHub’s global advisory database and OSV still have no entry for any of the five GHSA IDs.
Facts
- Alert note
- KB-N-0004 · Web and API
- Exploitation reported
- 2026-11-27 · CVE-2026-120705 and CVE-2026-129243 added to the CISA KEV catalog · source
- Fix
- 2026-10-19 · GeoServer 3.0.2, 2.28.6 and 2.27.7 announced, fixed for all five records of the chain · source
- Record published
- 2026-11-23 · GeoServer project advisories GHSA-39mw-5chv-jh47 and GHSA-rv5g-g2r9-58rj published · source
- CVE
- CVE-2026-120705, CVE-2026-129243, CVE-2026-129244, CVE-2026-129245, CVE-2026-129242
- GitHub advisory
- GHSA-39mw-5chv-jh47, GHSA-rv5g-g2r9-58rj, GHSA-4v26-c537-jvxc, GHSA-hgm3-wq4h-8vvq, GHSA-9wf2-fcgq-vxhq
- CWE
- CWE-91, CWE-611, CWE-918, CWE-863
- Record
- CVE-2026-120705 (GHSA-39mw-5chv-jh47, "Unauthenticated WFS GetFeatureById XML injection")
- Second record
- CVE-2026-129243 (GHSA-rv5g-g2r9-58rj, "Service security rules bypassed with a prefixed service name such as x/WFS")
- Same chain, same releases
- CVE-2026-129244 (GHSA-4v26-c537-jvxc, Medium), CVE-2026-129245 (GHSA-hgm3-wq4h-8vvq, Critical), CVE-2026-129242 (GHSA-9wf2-fcgq-vxhq, High)
- Severity
- In the project advisories; CVE-2026-120705: High, CVSS 3.1 8.6; CVE-2026-129243: High, CVSS 4.0 8.8. NVD published both on 2026-11-30 (status "Undergoing Analysis"), with the same scores
- Weakness
- CVE-2026-120705: CWE-91, CWE-611, CWE-918; CVE-2026-129243: CWE-863 (the advisories and CISA KEV agree)
- Affected
- GeoServer 2.27.6 and older, 2.28.0 to 2.28.5, 3.0.0 to 3.0.1; for CVE-2026-120705 also GeoTools
gt-metadata33.6 and older, 34.0 to 34.5, 35.0 to 35.1 - Fixed
- GeoServer 2.27.7, 2.28.6, 3.0.2 (with GeoTools 33.7, 34.6, 35.2), announced 2026-10-19; images
docker.osgeo.org/geoserver:2.27.7,:2.28.6,:3.0.2 - Exploited
- Both in CISA KEV since 2026-11-27 (catalog 2026.11.27), due 2026-11-30. CVE-2026-129242, -129244 and -129245 are not in KEV
- In scanner databases
- CVE-2026-120705 and CVE-2026-129243 now in NVD (published 2026-11-30). The other three CVEs, and the GitHub global advisory database and OSV for all five GHSA IDs, have no record
- Checked
- 2026-11-30 ~19:10 UTC
- Next review
- 2026-12-05
What happened
The project advisory GHSA-39mw-5chv-jh47 says one unauthenticated WFS request can make GeoServer read a local text file the GeoServer process can read, or fetch an HTTP or HTTPS address the attacker picks. GHSA-rv5g-g2r9-58rj says a service parameter with a prefix, such as x/WFS, reached the WFS service while service security checked the name x/WFS, found no rule, and ran the operation without a role check. CISA says the two chain with CVE-2026-129244, -129245 and -129242 to unauthenticated remote code execution.
Who is affected
GeoServer in the ranges above. The file read needs WFS on, globally or in any workspace with its own WFS settings. GHSA-rv5g-g2r9-58rj says the bypass lets an unauthenticated user "call any OWS operation that is restricted only by service security rules"; layer and data security rules still apply. CVE-2026-129245 (the remember-me cookie key) and CVE-2026-129242 (the JDBC user and role services) are fixed in the same releases, and their advisories do not tie them to WFS.
The project calls 2.27.7 "a mitigation measure only", since the 2.27 series is end-of-life. 2.26.x and older are inside the ranges and have no fixed release. The pre-releases 3.0-RC (2026-04-20) and 2.28-M0 (2025-10-14) came out before the fixes were merged in September and October 2026, and the advisories' ranges do not name them.
Am I affected?
The version is the check. Any one of these:
Web admin, logged in as an administrator: the About page shows the GeoServer and GeoTools versions (About & Status > About GeoServer on 2.x, GeoServer > About on 3.0).
REST API, with administrator credentials (the default REST rules require
ROLE_ADMINISTRATOR):curl -u admin -H "Accept: text/xml" https://YOUR-HOST/geoserver/rest/about/version.xmlRead
<Version>underresource name="GeoServer"and underresource name="GeoTools". A 401 or 403 means the request had no administrator rights or was blocked; a 404, a redirect or a login page says nothing about the version either. The About page and REST show the version ofgs-mainandgt-metadataonly; a lib folder patched by hand shows up only in the jar list.On the server, the jar names. In current official images the folder is in
GEOSERVER_LIB_DIR(/usr/local/tomcat/webapps/geoserver/WEB-INF/lib/):docker exec YOUR-CONTAINER sh -c 'ls "$GEOSERVER_LIB_DIR"' | grep -E '^(gs-main|gs-ows|gs-wfs|gs-wfs-core|gs-sec-jdbc|gt-metadata)-'For a WAR in your own Tomcat, list
webapps/geoserver/WEB-INF/lib/the same way. No output, orcannot access: the variable is not set or the path differs, which says nothing about the version. Images from other publishers and GeoServer Cloud use other paths; read the version their About page or REST answer reports.
What the result means:
- 3.0.2, 2.28.6 or 2.27.7 or later on the same branch, with
gt-metadata35.2, 34.6 or 33.7: fixed for all five records. - 3.0.0 or 3.0.1, 2.28.0 to 2.28.5, 2.27.6 or lower: affected by all five.
- 2.26.x or older: affected, with no fix on that branch.
A clean audit proves nothing. No CVE record, NVD entry, GitHub global advisory or OSV record exists for these five issues, so dependency scanners that read those databases report nothing for them on any GeoServer version.
A refused WFS request proves nothing. A 403 seen from outside shows that one request was refused, by GeoServer, a proxy or a firewall; a refusal by service security is what CVE-2026-129243 bypasses on an unfixed version.
Fix, and what the upgrade does not do
Upgrade to 3.0.2 or 2.28.6. In the official image, 3.0-latest and stable-latest pointed to the same digest as 3.0.2, 2.28-latest and maintenance-latest to 2.28.6, and 2.27-latest to 2.27.7 on 2026-11-28. The upgrade guides of 3.0.2, 2.28.6 and 2.27.7 say to back up the data directory first and warn that some upgrades are not reversible. 2.28 needs Java 17, so GeoServer on Java 8 does not start on it; 2.27 is the last series for Java 8. 3.0 also needs Java 17, and the WAR needs Tomcat 11. Its upgrade guide (doc/en/user/installation/upgrade3.md) lists more, such as the removed H2 datastore, whose layers must move to another datastore before the upgrade, and WCS 1.0, WCS 1.1, World Image and ArcGRID, which become extensions to install.
Until you upgrade, the advisories name these measures:
GHSA-39mw-5chv-jh47: "Restrict or disable the WFS service for anonymous users using service security, or disable WFS if it is not required." On an unfixed version CVE-2026-129243 bypasses service security rules. A workspace with its own WFS settings and Enabled ticked keeps serving WFS when WFS is disabled globally.
GHSA-rv5g-g2r9-58rj: "Block requests whose
serviceparameter contains/, in the query string or in theserviceattribute of an XML request, at a proxy in front of GeoServer." GeoServer also reads these parameters from form-encoded POST bodies. Until you upgrade, treat the bypass as open.GHSA-hgm3-wq4h-8vvq: "Remove
remembermefrom the web filter chain (Security > Authentication, filter chainweb)." Otherwise "change the key insecurity/config.xmlto a long random value, and protect the data directory from disclosure." The same advisory says changing the key "does not help when the same file disclosure also reveals the key", and on an unfixed version CVE-2026-120705 reads files the GeoServer process can read.GHSA-9wf2-fcgq-vxhq: "Limit administrator access to trusted users, and restrict access to the REST API
/rest/resourceand/rest/securityendpoints to trusted networks." The same advisory says "anyone who takes over an administrator session" can run code, and on an unfixed version CVE-2026-129245 lets a leaked key and password digest forge an administrator login.
What the upgrade changes:
- People are logged out. GHSA-hgm3-wq4h-8vvq says existing remember-me cookies are invalidated on upgrade and each node uses a random key; in a cluster, set
GEOSERVER_REMEMBERME_KEYto the same value on every node. - The client address changes behind a remote proxy. The upgrade guides of 3.0.2, 2.28.6 and 2.27.7 say GeoServer now trusts only a reverse proxy on the local host by default. Behind a proxy on another host or container, set
GEOSERVER_TRUSTED_PROXIES; otherwise logs, control flow and IP-based security rules see the proxy address, and a blacklist entry for that address blocks everyone. The proxy must overwrite or appendX-Forwarded-For; one that passes it on unchanged lets clients choose their own address (nginx does unlessproxy_set_header X-Forwarded-Foris set). A customizedweb.xmlneeds the newRemote IP Resolutionfilter.
What the upgrade does not do:
Stored queries stay. GHSA-rv5g-g2r9-58rj: "Review the data directory
wfs/queryandworkspaces/*/wfs/queryfolders for stored queries you did not create."Read files stay read. GHSA-hgm3-wq4h-8vvq says a key and an administrator password digest from a file disclosure are enough to forge an administrator login, and: "If you suspect exposure, change administrator passwords."
What ran stays. The chain ends in code execution as the GeoServer process (GHSA-9wf2-fcgq-vxhq); upgrading does not undo anything an attacker ran or changed on a server that was exposed.
Java stays as it is. On 2026-11-18 geoserver.org asked GeoServer operators to add
-XX:-UseBASE64Intrinsicsfor a flaw in Java (CVE-2026-114938); a GeoServer release does not set it. The same post says some Java 8 builds stop at startup with "Unrecognized VM option 'UseBASE64Intrinsics'"; such a build lacks the affected decoder, so remove the flag there.
Exploitation, as CISA lists it
CVE-2026-120705 ("OSGeo GeoServer XML Injection Vulnerability") and CVE-2026-129243 ("OSGeo GeoServer Incorrect Authorization Vulnerability") were added to KEV on 2026-11-27, due date for US federal agencies 2026-11-30. Known ransomware use: "Unknown". Forensic triage: "No". Required action: apply the vendor's mitigations under CISA's BOD 26-04 and its forensics triage requirements, or stop using the product if no mitigation exists. Each entry says the flaw "can be chained" with the four other CVEs "to achieve unauthenticated remote code execution". CISA listed both before the CVE records were published: at 2026-11-28 12:36 UTC the CVE API still answered "CVE_RECORD_DNE" for all five. NVD published CVE-2026-120705 and CVE-2026-129243 on 2026-11-30, with the same scores as the project advisories (8.6 and 8.8); the other three CVEs, and the GitHub global advisory database and OSV for all five GHSA IDs, still have no record.
Sources
Primary records first. Record identifiers link from the facts box. Opened 2026-11-28 between 11:23 and 12:36 UTC; the CVE records, NVD, CISA KEV, the GitHub global database, OSV, the advisories, the release list and the image tags were read again at 12:36 UTC. NVD was read through its API. The file names in the official images were read from the image layers of 2.27.7, 2.28.6 and 3.0.2, without running them. GitHub advisory data: CC BY 4.0.
Records and release notes
- Project advisory GHSA-39mw-5chv-jh47 (CVE-2026-120705), geoserver/geoserver, accessed 2026-11-28
- Project advisory GHSA-rv5g-g2r9-58rj (CVE-2026-129243), geoserver/geoserver, accessed 2026-11-28
- Project advisory GHSA-hgm3-wq4h-8vvq (CVE-2026-129245), with the five steps of the chain, accessed 2026-11-28
- Project advisory GHSA-4v26-c537-jvxc (CVE-2026-129244), accessed 2026-11-28
- Project advisory GHSA-9wf2-fcgq-vxhq (CVE-2026-129242), accessed 2026-11-28
- Project advisories, GitHub repository advisory API, accessed 2026-11-28
- CISA Known Exploited Vulnerabilities catalog, JSON feed, catalog 2026.11.27, accessed 2026-11-28
- CVE record CVE-2026-120705, CVE program API, published 2026-11-30, accessed 2026-11-30
- CVE record CVE-2026-129243, CVE program API, published 2026-11-30, accessed 2026-11-30
- CVE-2026-120705, NVD, published 2026-11-30, accessed 2026-11-30
- CVE-2026-129243, NVD, published 2026-11-30, accessed 2026-11-30
- GeoServer git, backport of GEOS-12199 to 2.28.x (#10081), accessed 2026-11-28
- GeoServer git, backport of GEOS-12195 to 2.28.x (#10048), accessed 2026-11-28
- GeoServer git, backport of the remember-me key change to 2.28.x (#10010), accessed 2026-11-28
- GeoServer git, the REST about controller at 3.0.2, accessed 2026-11-28
- GeoServer docs, REST "About" at 3.0.2, accessed 2026-11-28
- GeoServer git, the version manifest loader at 2.28.6, accessed 2026-11-28
- GeoServer git, RememberMeServicesConfig.java at 2.28.6, accessed 2026-11-28
- GeoServer git, release data directory security rules at 3.0.2, accessed 2026-11-28
- GeoServer git, the disabled service check at 2.28.5, accessed 2026-11-28
- GeoServer git, Dispatcher.java at 2.28.5, accessed 2026-11-28
- Official image registry docker.osgeo.org/geoserver, tag list, accessed 2026-11-28
- geoserver/docker, Dockerfile, accessed 2026-11-28
- GitHub global advisory API, GHSA-39mw-5chv-jh47, 404 for this ID at our check, accessed 2026-11-28
- GitHub global advisory API, GHSA-rv5g-g2r9-58rj, 404 for this ID at our check, accessed 2026-11-28
- OSV, Maven org.geoserver:gs-wfs-core, accessed 2026-11-28
- NVD, CVE-2026-120705, secondary; no record at our check, accessed 2026-11-28
Vendor documentation and statements
- geoserver.org, "GeoServer Security Update - November 2026", accessed 2026-11-28
- geoserver.org, GeoServer 3.0.2 release, accessed 2026-11-28
- geoserver.org, GeoServer 2.28.6 release, accessed 2026-11-28
- geoserver.org, GeoServer 2.27.7 release, accessed 2026-11-28
- geoserver.org, "Java4Shell (CVE-2026-114938): add one Java flag to GeoServer today", accessed 2026-11-28
- GeoServer docs, upgrade notes at 2.27.7, accessed 2026-11-28
- GeoServer docs, upgrade notes at 2.28.6, accessed 2026-11-28
- GeoServer docs, upgrading to GeoServer 3 at 3.0.2, accessed 2026-11-28
Corrections
No corrections.
Report an error to contact@arviser.com.
How this page was made: Claude Opus 5.5, an AI model, wrote this note from the sources listed. A separate AI agent checked it against the sources. Vadim Nareyko decided on 28 November to publish a shortened note and did not review the final text.
Text and data on this page: CC BY 4.0. Quoted third-party material keeps its own terms.