Threat actors are actively exploiting two newly patched GeoServer vulnerabilities, according to watchTowr reporting summarized by The Hacker News. The confirmed identifier with technical detail is CVE-2026-120705, CVSS 8.6, described as an arbitrary file read that can expose local text files readable by the GeoServer process or be used to fetch attacker-relevant data. The second issue, CVE-2026-129243, is reported as part of the same defensive conversation, while public technical detail in the provided summary is limited; defenders should treat it as a chain component until the vendor advisory mapping is confirmed.
The urgent risk is not merely file disclosure. Researchers are warning about unauthenticated critical code execution chains, which means an internet-reachable GeoServer can become a foothold for credential theft, lateral movement, webshell deployment, and ransomware staging. GeoServer often sits in a trusted zone, publishes geospatial data to many internal consumers, and runs with broader filesystem or database access than teams expect. Treat exposed instances as potentially compromised until patched, isolated, and hunted.
What is affected
Affected product: OSGeo GeoServer, commonly deployed as a Java web application under Tomcat, Jetty, or another servlet container, on Windows or Linux. The provided summary does not list exact vulnerable or fixed version numbers, and defenders should not guess. Use the official GeoServer security page and release notes to map CVE-2026-120705 and CVE-2026-129243 to fixed builds before declaring an instance remediated: https://geoserver.org/ and https://geoserver.org/security/ . Also monitor CISA KEV for either CVE, but do not assume inclusion until verified: https://www.cisa.gov/known-exploited-vulnerabilities-catalog .
From an exposure standpoint, prioritize any GeoServer that is internet-facing, reachable from partner networks, fronted by a reverse proxy, embedded in another application, or running on a server that also holds API keys, database credentials, cloud instance metadata access, shapefile stores, PostGIS credentials, or service account secrets. Development and staging instances matter too: attackers frequently use lower environments as quieter ingress paths.
Technical analysis
CVE-2026-120705 is described in the source summary as an arbitrary file read vulnerability with a CVSS score of 8.6. The defensive interpretation is straightforward: an unauthenticated remote request may cause the GeoServer process to return or interact with local files it can read. On Linux, high-value targets include /etc/passwd, application configuration, environment files, Tomcat users files, GeoServer data directory security files, database connection properties, cloud credentials, SSH material, and logs containing tokens. On Windows, targets include web.config, context.xml, tomcat-users.xml, GeoServer security configuration, unattended install artifacts, and credential files readable by the service account.
The reporting also warns of unauthenticated critical code execution chains. That phrase matters because arbitrary file read is frequently the information-disclosure primitive that enables the next step: recovering credentials, secrets, salts, internal hostnames, or configuration needed to authenticate to an admin interface, abuse a deserialization or template path, upload a malicious extension, or weaponize a second flaw. CVE-2026-129243 has no technical detail in the provided summary, so do not invent a mechanism. Operationally, assume the two CVEs may be chained and hunt for outcomes: unexpected child processes from java/tomcat, outbound connections from the servlet container, writes into GeoServer webapp directories, new users, new scheduled tasks or services, and access to sensitive files by the GeoServer account.
Exploitation status from the provided item: active exploitation is reported by watchTowr via The Hacker News. I am not confirming a public PoC, exploit maturity, victim count, or CISA KEV listing from the supplied text. For defenders, the correct posture is active-exploitation handling: patch or mitigate now, preserve evidence before rebuilding, and run retro-hunts back to first exposure of the vulnerable build.
Immediate defensive priorities
- Identify every GeoServer instance by scanning for HTTP services, Java servlet containers, DNS names, reverse proxy routes, and assets answering with GeoServer, OpenLayers, WMS, WFS, WCS, REST, or /geoserver paths.
- Remove unauthenticated internet exposure today. Put GeoServer behind VPN, SSO-aware reverse proxy, allowlists, or private load balancer while patching is validated.
- Patch to the fixed release listed by the official GeoServer advisory for each CVE. If exact fixed versions are not yet clear in your asset records, isolate first and upgrade after advisory confirmation.
- Rotate secrets that were readable by the GeoServer process: database passwords, PostGIS credentials, API keys, proxy credentials, Tomcat users, LDAP bind accounts, cloud keys, and tokens present in logs or config.
- Capture volatile evidence before reboot or container replacement if exploitation is suspected: process list, network connections, open files, web access logs, GeoServer logs, Tomcat logs, auth logs, and recent modified files under the webapp and data directories.
Detection and response
The highest-fidelity endpoint signal is the Java/Tomcat/GeoServer process doing things a map server should not do: spawning shells, downloading tools, reading credential stores, writing executable content into web roots, or making outbound connections to rare destinations. Web logs are useful for precursor activity, but do not rely on a single URI because GeoServer paths vary by deployment and reverse proxy. Hunt behavior, then pivot to access logs for requests containing traversal, encoded traversal, sensitive filenames, or unusual parameters against GeoServer routes.
---
title: GeoServer or Tomcat Java Process Spawning Shell or Downloader
description: Detects post-exploitation behavior where a GeoServer, Tomcat, Jetty, or Java servlet process launches shells, script interpreters, or download cradles consistent with unauthenticated RCE chains involving CVE-2026-120705 or CVE-2026-129243.
references:
- https://attack.mitre.org/techniques/T1059/
- https://attack.mitre.org/techniques/T1105/
- https://thehackernews.com/2026/11/hackers-exploit-two-geoserver-flaws-as.html
author: Security Arsenal
status: experimental
date: 2026/11/14
logsource:
category: process_creation
product: windows
detection:
selection_parent:
ParentImage|endswith:
- '\java.exe'
- '\javaw.exe'
- '\tomcat.exe'
- '\tomcat9.exe'
- '\commons-daemon.exe'
ParentCommandLine|contains:
- 'geoserver'
- 'tomcat'
- 'jetty'
- 'catalina'
selection_child:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
- '\pwsh.exe'
- '\wscript.exe'
- '\cscript.exe'
- '\mshta.exe'
- '\rundll32.exe'
- '\certutil.exe'
- '\bitsadmin.exe'
- '\curl.exe'
- '\wget.exe'
- '\whoami.exe'
- '\net.exe'
- '\nltest.exe'
condition: selection_parent and selection_child
falsepositives:
- Rare administrative maintenance launched from the servlet host
- Legitimate GeoServer extensions calling approved scripts; whitelist by hash and path after review
level: high
---
title: Linux GeoServer Java Process Spawning Shell or Network Utility
description: Detects Linux GeoServer, Tomcat, Jetty, or Java processes spawning shells, curl, wget, base64, python, perl, or reconnaissance utilities after suspected exploitation of CVE-2026-120705 or CVE-2026-129243.
references:
- https://attack.mitre.org/techniques/T1059/
- https://attack.mitre.org/techniques/T1105/
- https://thehackernews.com/2026/11/hackers-exploit-two-geoserver-flaws-as.html
author: Security Arsenal
status: experimental
date: 2026/11/14
logsource:
category: process_creation
product: linux
detection:
selection_parent:
ParentImage|endswith:
- '/java'
- '/jsvc'
- '/tomcat'
ParentCommandLine|contains:
- 'geoserver'
- 'catalina'
- 'tomcat'
- 'jetty'
- 'spring-boot'
selection_child:
Image|endswith:
- '/sh'
- '/bash'
- '/dash'
- '/zsh'
- '/curl'
- '/wget'
- '/python'
- '/python3'
- '/perl'
- '/php'
- '/base64'
- '/nc'
- '/ncat'
- '/socat'
- '/id'
- '/whoami'
- '/uname'
- '/cat'
- '/grep'
- '/find'
condition: selection_parent and selection_child
falsepositives:
- Health checks and approved backup jobs running under the servlet account
- Container entrypoint scripts during controlled deployment windows
level: high
let lookback = 14d;
let suspicious_files = dynamic(['/etc/passwd','/etc/shadow','win.ini','web.config','context.xml','tomcat-users.xml','users.xml','config.xml','credentials','secret','id_rsa','.env','application.properties','geoserver']);
let geo_proc = DeviceProcessEvents
| where TimeGenerated >= lookback
| where ProcessVersionInfoOriginalFileName has_any ('java','tomcat') or FileName in~ ('java.exe','javaw.exe','tomcat.exe','tomcat9.exe') or ProcessCommandLine has_any ('geoserver','catalina','tomcat','jetty');
let children = DeviceProcessEvents
| where TimeGenerated >= lookback
| where InitiatingProcessId in (geo_proc | summarize by ProcessId)
| where FileName in~ ('cmd.exe','powershell.exe','pwsh.exe','wscript.exe','cscript.exe','mshta.exe','rundll32.exe','certutil.exe','bitsadmin.exe','curl.exe','wget.exe','whoami.exe','net.exe','sh','bash','dash','zsh','curl','wget','python','python3','perl','base64','nc','ncat','socat','id','uname','cat','find')
| project DeviceName, TimeGenerated, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, AccountName, ReportId;
let web = CommonSecurityLog
| where TimeGenerated >= lookback
| where RequestURL has_any ('geoserver','/wms','/wfs','/wcs','/rest') or RequestURL has_any ('..','%2e','%252e','etc/passwd','win.ini','web.config','tomcat-users','credentials','secret')
| project TimeGenerated, DeviceName, SourceIP, DestinationIP, DestinationPort, RequestURL, RequestMethod, ApplicationProtocol, ReceivedBytes, SentBytes;
let syslog = Syslog
| where TimeGenerated >= lookback
| where SyslogMessage has_any ('geoserver','/etc/passwd','win.ini','tomcat-users','..','%2e','%252e','credentials','secret')
| project TimeGenerated, Computer, HostIP, ProcessName, SyslogMessage;
children
| union web
| union syslog
| summarize count() by DeviceName, TimeGenerated, SourceIP, DestinationIP, InitiatingProcessFileName, FileName, ProcessCommandLine, RequestURL, SyslogMessage
| sort by TimeGenerated desc;
-- Hunt GeoServer/Tomcat processes, suspicious children, listeners, and web-root writes
LET procs = SELECT Pid, Ppid, Name, Exe, CommandLine, Username, CreateTime FROM pslist();
LET geo = SELECT * FROM procs WHERE Name =~ '(java|javaw|tomcat|jsvc|jetty)' OR CommandLine =~ '(geoserver|catalina|tomcat|jetty)';
LET suspect_children = SELECT c.Pid AS ChildPid, c.Name AS ChildName, c.Exe AS ChildExe, c.CommandLine AS ChildCmd, c.Username AS ChildUser, p.Pid AS ParentPid, p.Name AS ParentName, p.CommandLine AS ParentCmd FROM procs c JOIN geo p ON c.Ppid = p.Pid WHERE c.Name =~ '(cmd|powershell|pwsh|sh|bash|dash|curl|wget|python|perl|base64|nc|ncat|socat|whoami|id|uname|cat|find|grep)';
SELECT * FROM suspect_children
UNION
SELECT Pid, Ppid, Name, Exe, CommandLine, Username, CreateTime FROM geo
UNION
SELECT Pid, Name, Exe, CommandLine, Username, CreateTime FROM procs WHERE Exe =~ '(webapps|geoserver|tomcat|jetty)' AND CreateTime > now() - 1209600;
#!/usr/bin/env bash
# GeoServer CVE-2026-120705 / CVE-2026-129243 verification and hardening helper.
# Default is read-only. Set APPLY=1 to enforce localhost bind and drop obvious egress for the GeoServer UID after approval.
set -euo pipefail
APPLY="${APPLY:-0}"
OUT="/tmp/geoserver_ir_$(date +%Y%m%d_%H%M%S)"
mkdir -p "$OUT"
{
echo '== date =='; date -Is
echo '== geoserver processes =='
ps -eo pid,ppid,user,comm,args | egrep -i 'geoserver|catalina|tomcat|jetty|java' || true
echo '== listeners =='
(ss -lntup 2>/dev/null || netstat -lntup 2>/dev/null) | egrep -i ':(8080|8081|8443|8009|8005)\b|java|tomcat' || true
echo '== recent web/data modifications =='
for d in /var/lib/tomcat*/webapps /opt/tomcat/webapps /usr/share/tomcat/webapps /opt/geoserver /var/lib/geoserver /usr/share/geoserver; do
[ -d "$d" ] && find "$d" -type f -mtime -14 -printf '%TY-%Tm-%Td %TH:%TM:%TS %u %g %m %p\n' 2>/dev/null | sort -r | head -200
done
echo '== candidate sensitive config readable by service users =='
for u in tomcat tomcat9 geoserver; do id "$u" 2>/dev/null || true; done
echo '== package/version hints =='
(dpkg -l 2>/dev/null | egrep -i 'tomcat|geoserver' || rpm -qa 2>/dev/null | egrep -i 'tomcat|geoserver' || true)
} | tee "$OUT/inventory.txt"
if [ "$APPLY" = "1" ]; then
echo 'APPLY=1 set: backing up and enforcing emergency controls' | tee -a "$OUT/actions.txt"
cp -a /etc/default/tomcat9 "$OUT/" 2>/dev/null || true
cp -a /etc/tomcat9/server.xml "$OUT/" 2>/dev/null || true
GEO_UID="$(id -u geoserver 2>/dev/null || id -u tomcat 2>/dev/null || id -u tomcat9 2>/dev/null || echo '')"
if [ -n "$GEO_UID" ]; then
iptables -C OUTPUT -m owner --uid-owner "$GEO_UID" -p tcp -d 127.0.0.0/8 -j ACCEPT 2>/dev/null || iptables -A OUTPUT -m owner --uid-owner "$GEO_UID" -p tcp -d 127.0.0.0/8 -j ACCEPT
iptables -C OUTPUT -m owner --uid-owner "$GEO_UID" -p tcp -d 10.0.0.0/8 -j ACCEPT 2>/dev/null || iptables -A OUTPUT -m owner --uid-owner "$GEO_UID" -p tcp -d 10.0.0.0/8 -j ACCEPT
iptables -C OUTPUT -m owner --uid-owner "$GEO_UID" -p tcp -d 172.16.0.0/12 -j ACCEPT 2>/dev/null || iptables -A OUTPUT -m owner --uid-owner "$GEO_UID" -p tcp -d 172.16.0.0/12 -j ACCEPT
iptables -C OUTPUT -m owner --uid-owner "$GEO_UID" -p tcp -d 192.168.0.0/16 -j ACCEPT 2>/dev/null || iptables -A OUTPUT -m owner --uid-owner "$GEO_UID" -p tcp -d 192.168.0.0/16 -j ACCEPT
iptables -C OUTPUT -m owner --uid-owner "$GEO_UID" -p tcp --dport 53 -j ACCEPT 2>/dev/null || iptables -A OUTPUT -m owner --uid-owner "$GEO_UID" -p tcp --dport 53 -j ACCEPT
iptables -C OUTPUT -m owner --uid-owner "$GEO_UID" -p udp --dport 53 -j ACCEPT 2>/dev/null || iptables -A OUTPUT -m owner --uid-owner "$GEO_UID" -p udp --dport 53 -j ACCEPT
iptables -C OUTPUT -m owner --uid-owner "$GEO_UID" -p tcp -j REJECT 2>/dev/null || iptables -A OUTPUT -m owner --uid-owner "$GEO_UID" -p tcp -j REJECT
fi
echo 'Manual step required: bind 8080/8443 to 127.0.0.1 or place behind authenticated reverse proxy before restoring service.' | tee -a "$OUT/actions.txt"
fi
echo "Evidence bundle: $OUT"
Remediation
Apply the official fixed GeoServer release for both CVE-2026-120705 and CVE-2026-129243 as soon as the vendor advisory confirms exact versions for your deployment. Do not rely on CVSS alone: the reported active exploitation and unauthenticated chain risk make this an emergency change for internet-facing systems and a priority-one change for internal systems that handle sensitive geospatial, utility, defense, logistics, healthcare, or critical-infrastructure data.
If a patched build cannot be deployed immediately, use compensating controls that actually break the chain: remove public unauthenticated access; put the service behind an authenticated reverse proxy with mTLS or SSO; restrict management and REST endpoints to admin networks; block outbound internet access from the GeoServer service account except required update or data sources; run GeoServer under a dedicated low-privilege account with read-only access to everything except its data directory; remove sample layers, unused extensions, and default credentials; disable remote extension upload where possible; and separate the data directory from the webapp with strict filesystem permissions.
After patching, rotate credentials exposed to the process, invalidate sessions, review admin users and API keys, and verify file integrity under webapps and the GeoServer data directory. Rebuild from known-good artifacts if you find webshells, unexpected JSP files, new Java classes, modified security XML, unfamiliar extensions, or child-process execution before patch time. Preserve logs for the full exposure window and align actions with NIST CSF Respond and Recover, CIS Control 7 vulnerability management, CIS Control 8 audit log management, and incident-response evidence handling.
If either CVE is added to CISA KEV, treat federal Binding Operational Directive timelines as the floor and apply equivalent deadlines to private infrastructure. For MSSP clients, Security Arsenal recommends a 24-hour mitigation target for internet-facing instances, 72-hour patch verification for internal production instances, and retro-hunting over at least the last 30 days or from first vulnerable deployment, whichever is longer.
Related Resources
Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub
Is your security operations ready?
Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.