What happened
According to watchTowr, attackers are probing GeoServer instances for two recently disclosed vulnerabilities. SecurityWeek and The Hacker News both report that the activity looks like reconnaissance: error-based probes that create and invoke stored queries to confirm a server is vulnerable. watchTowr has not reported attackers achieving remote code execution, and at the time of reporting there were no other reports of exploitation attempts.
The two flaws, per the GeoServer advisories:
- CVE-2026-120705 (CVSS 8.6): a single unauthenticated Web Feature Service (WFS) request can read local text files readable by the GeoServer process, or make the server fetch an HTTP or HTTPS URL chosen by the attacker.
- CVE-2026-129243 (CVSS 8.8): incorrect authorization lets an unauthenticated attacker call OWS operations that service security rules should protect, for example by using a prefixed service name such as x/WFS.
The fixes are in GeoServer 2.27.7, 2.28.6 and 3.0.2. According to the project's own security update post, those releases came out in October, and the CVE details and advisories were published on 23 November 2026. SecurityWeek reports that the researcher disclosed technical details and published proof-of-concept code this week. Both bugs belong to a five-bug chain found by Rapid7 researcher Jonah Burgess, and Eye Security independently reported a three-bug chain on Linux and Windows.
Why it matters
Individually these look like file read and authorization problems. Chained, the maintainers describe unauthenticated command execution as the GeoServer process user. The published chain works like this:
- A stored query error discloses the data directory path (CVE-2026-129244).
- The service-name prefix bypasses security rules (CVE-2026-129243).
- XML injection in GetFeatureById reads local files (CVE-2026-120705).
- A hard-coded or predictable remember-me signing key lets the attacker forge an administrator session (CVE-2026-129245).
- An administrator-only bug runs code (CVE-2026-129242 in the five-step chain; Eye Security used CVE-2026-120704).
Our own note, not the maintainers': rotating secrets on a server that is still unpatched may not help, because the same file-read flaw could expose the new value, so patch first and rotate after. Eye Security identified more than 3,000 internet-accessible GeoServer instances. Technical write-ups and exploit code were published this week, so expect probing to grow. GeoServer has been targeted before, including a zero-day in August 2026.
What defenders should check
- Inventory every GeoServer, including copies embedded in other products and containers. Check versions against 2.27.7, 2.28.6 and 3.0.2.
- Find internet-facing instances. Starting points to adapt: Shodan
http.title:"GeoServer" org:"<your org>", or the Censys equivalent scoped to your autonomous system. - Restrict WFS and OWS access at the reverse proxy to the clients that need it, and block the admin interface from the internet.
- Review web logs since your instance last ran a version older than the fixed releases, and at least since 23 November when the details became public, for stored query creation, GetFeatureById requests and service paths with a prefix before WFS.
Detection ideas
These are starting points to adapt and test, not production-ready rules.
# Access log search (adjust to your log format)
grep -Ei "CreateStoredQuery|StoredQuery|GetFeatureById" access.log
grep -Ei "/[A-Za-z0-9_-]+/(wfs|WFS|ows)" access.log
// KQL against proxy or web server logs
W3CIISLog
| where csUriStem has_any ("/wfs", "/ows")
| where csUriQuery has_any ("StoredQuery", "GetFeatureById")
| summarize hits=count(), codes=make_set(scStatus) by cIP, bin(TimeGenerated, 1h)
| order by hits desc
Also watch for the GeoServer host making outbound HTTP requests to unfamiliar destinations, which can indicate the SSRF half of CVE-2026-120705, and for repeated HTTP 500 responses from a single source, which matches the error-based probing watchTowr describes.
Investigation
If the server was reachable before patching, collect first and patch second where you can:
- Web server and reverse proxy logs covering at least 23 November onward, and earlier if retention allows.
- A copy of the GeoServer data directory, especially security/config.xml, users.xml and the file modification times across the directory.
- Any new or unexpected native library files, JDBC configuration changes and new users or roles.
- Process creation records for child processes of the Java process running GeoServer (shells, curl, wget, scripting engines).
- Outbound connection logs from the host.
Treat any exposure of users.xml or config.xml as a credential exposure: the password digest and signing key together are enough to forge an administrator session, per the maintainers.
Mitigation
- Upgrade to GeoServer 2.27.7, 2.28.6 or 3.0.2.
- After upgrading, rotate administrator passwords and the signing key, particularly on instances that were exposed.
- Keep GeoServer behind a reverse proxy with allow-listed paths and clients, and keep the admin interface off the internet.
- Run GeoServer as a low-privilege user in a container or host with limited outbound access.
If you need help scoping exposure or investigating a suspected compromise, see our incident response and threat hunting services.