Direct answer: CVE-2026-120705 and CVE-2026-129243 are 2 flaws in GeoServer, the open source map server, that work with no login. CISA added both to the KEV catalog on 27 November 2026, because real attacks are already visible. Today, check your GeoServer version, then update to 3.0.2, 2.28.6, or 2.27.7.

The same release also closes CVE-2026-129245, a default remember-me key with CVSS 4.0 score 9.2. The fix came out on 19 October 2026. A server that has not updated since that date is still open.

Main condition: GeoServer 3.0.0 to 3.0.1, 2.28.0 to 2.28.5, and versions up to 2.27.6 are vulnerable. The highest risk is on servers open to the internet with WFS on for guests. Limit: this article has no payload, no sample attack request, and no order of the attack chain.

We read the GeoServer blog "Security Update - November 2026", 6 GeoServer GitHub advisories, the GeoServer 2.28.6 release announcement, the Eye Security post, SecurityWeek, The Hacker News, CISA KEV, the GeoServer service security documentation, and the GeoServer remember-me documentation on 28 November 2026. We ran all scripts in Steps 1 to 5 in a podman pod with the official GeoServer 2.28.5 and 2.28.6 images and nginx 1.29.

Important limit: we did not test the 3.0 series, the 2.27 series, a WAR install on Tomcat, the Windows installer, a cluster, or Apache as the proxy. We also did not test desktop clients such as QGIS behind the proxy rules. All test data is dummy data.

The problem: WFS flaws with no login in GeoServer

GeoServer serves map data through OGC standards. WMS gives map images, and WFS gives feature data such as points, lines, and areas. Agencies, universities, and companies use GeoServer for public map portals and internal apps.

WFS has a stored query feature, a query that the server keeps and calls by name. One of them is built in, GetFeatureById, to get 1 feature by its id. The main flaw is on this path.

The GeoServer admin page is at /web/, and the REST APIAPIThe official door 2 systems use to exchange data, without anybody copying it by hand.Open the glossary is at /rest/. Both are often open to the internet together with the public map. This condition adds risk from the other flaws in the same release.

Timeline: report on 29 September, fix release on 19 October, advisories on 23 November, attack attempts on 25 November, and CISA KEV on 27 November 2026.
Green dot: the fix is available. Red dot: entry in the CISA KEV catalog. The fix existed 40 days before this article. Source: the GeoServer advisories and blog, Eye Security, SecurityWeek, watchTowr, and CISA KEV.

Eye Security reported to the GeoServer team on 29 September 2026. The fix releases 3.0.2, 2.28.6, and 2.27.7 came out on 19 October. The GitHub advisories and the GeoServer blog "Security Update - November 2026" came out on 23 November, with 16 advisories at once.

On 24 November, Eye Security published a technical post and counted more than 3,000 GeoServer servers open to the internet. From 25 November, watchTowr saw attack attempts. CISA added 2 CVEs to KEV on 27 November, with a deadline of 30 November for US federal agencies.

How it works: 3 main flaws, an advisory-level summary

This section uses the official summaries. The goal is to help you pick the right steps, not to explain how to attack.

CVE-2026-120705: XML injection in the WFS stored query

Per the CVE-2026-120705 advisory, the input for the GetFeatureById stored query is not cleaned. An attacker with no account can make the server read local text files, or fetch a URL that the attacker picks (SSRF). The file content comes back in the "Illegal property name" error message if a layer is open to guests. Without such a layer, the file is still read, but its content does not come back. CVSS 3.1 score: 8.6.

CVE-2026-129243: the service rules can be skipped

Per the CVE-2026-129243 advisory, a service name with a prefix, for example x/WFS, does not match the rules in Security > Services. So a rule that limits WFS for guests does not apply. With the default settings, guests can create and drop stored queries. CVSS 4.0 score: 8.8.

CVE-2026-129245: the default remember-me key

Per the CVE-2026-129245 advisory, the security/config.xml file keeps the default remember-me key geoserver. That key is the same on every install. The advisory says that a fake admin login cookie can be made. CVSS 4.0 score: 9.2, critical.

Other CVEs in the same release

CVEFlawLoginScore
CVE-2026-120705XML injection in the WFS GetFeatureById stored query. Reads local text files and SSRFNo loginCVSS 3.1 8.6, CISA KEV
CVE-2026-129243A prefixed service name skips the Security > Services rulesNo loginCVSS 4.0 8.8, CISA KEV
CVE-2026-129245Default remember-me key. A fake admin login cookie can be madeNo loginCVSS 4.0 9.2, critical
CVE-2026-129242Deserialization in the JDBC user and role serviceAdminCVSS 4.0 8.6
CVE-2026-129244A stored query error message shows the data folder pathNo loginCVSS 4.0 6.9
CVE-2026-120704SQLite extension load through the JDBC security configurationAdminCVSS 3.1 7.2

The CVE-2026-129242 advisory and the CVE-2026-120704 advisory need an admin session, but they end with code execution on the server. The CVE-2026-129244 advisory shows the data folder path. The advisory says that 5 CVEs were reported as 1 chain, from no login to code execution. We do not write the order of that chain. 10 other advisories touch extensions and community modules.

Table of 6 GeoServer flaws in the same release, with access and score. CVE-2026-120705 and CVE-2026-129243 need no login and are in CISA KEV.
Red rows: the 2 CVEs that entered the CISA KEV catalog on 27 November 2026. Source: the GeoServer GitHub advisories of 23 November 2026 and the CISA KEV catalog.

Exploitation status as of 28 November 2026

Attacks are already visible, and a public PoC exists. Treat every GeoServer below the fixed version that is open to the internet as a target.

SourceStatus
GeoServer GitHub advisories, 23 November16 advisories. The fix is in the 19 October releases. 5 CVEs were reported as 1 chain from no login to code execution
Eye Security, 24 NovemberMore than 3,000 GeoServer servers are open to the internet. No breakdown per country
SecurityWeek, citing watchTowrAttack attempts since 25 November. Pattern: probes that look for vulnerable servers through stored queries. No report of successful code execution yet
CISA KEV, 27 NovemberCVE-2026-120705 and CVE-2026-129243 are in the catalog. Deadline for US federal agencies: 30 November
Attack codeA public PoC exists. We do not link to it

Flaws in public web apps are often used within days after the details come out. The same pattern shows in the Drupal flaw CVE-2026-132165 and the Mitel MiCollab flaw CVE-2026-133323.

Who is most at risk

Every GeoServer below the fixed version needs the update. This table helps you pick the servers to do first.

Server conditionRiskReason
Old version, open to the internet, WFS on, layers open to guestsHighCVE-2026-120705 needs no login and is in KEV. File content shows if a layer is open to guests
Old version, open to the internet, no layers open to guestsHighFiles are still read and SSRF still works. Only the content does not come back
Old version, remember-me on with the default key, /web/ reachableHighThe default key is the same on every install. CVSS 4.0 9.2
Old version, internal network onlyCheckOther computers on the internal network can still send requests. The update is still required
Version 3.0.2, 2.28.6, or 2.27.7LowerThe flaws are closed. Still look for signs, because an attack can happen before the update
High-risk conditions: GeoServer open to the internet, WFS on for guests, the default remember-me key, and open /web/ and /rest/. Right: the impact of each flaw.
Bottom red box: more than 3,000 servers are open to the internet per Eye Security. Source: the GeoServer GitHub advisories, the Eye Security post, SecurityWeek, and watchTowr.

Rama Digital analysis: a vendor often installs GeoServer for a map portal project, and nobody updates it after the handover. The data folder also often holds database passwords and admin accounts. So one old server can open other data on the same network.

Vulnerable and fixed versions

Match your GeoServer version with this table. Source: the GeoServer blog "Security Update - November 2026" and the GeoServer GitHub advisories.

SeriesVulnerableFixed
3.03.0.0 to 3.0.13.0.2
2.282.28.0 to 2.28.52.28.6
2.27up to 2.27.62.27.7, a series outside routine support
Below 2.27all versionsno patch, move to 2.28.6 or 3.0.2
GeoServer version table: the 3.0 series is fixed from 3.0.2, 2.28 from 2.28.6, 2.27 from 2.27.7. Below 2.27 there is no patch.
Amber panel: 2 ways to check the version without a script. Source: the GeoServer GitHub advisories and the GeoServer blog "Security Update - November 2026".

Important notes:

  • The 2.27 series is outside routine support. Use 2.27.7 only as a step in between, then move to 2.28 or 3.0.
  • Versions below 2.27 get no patch. Move to 2.28.6 or 3.0.2.
  • GeoTools also has the fix in 33.7, 34.6, and 35.2. Other apps that use GeoTools also need a check.
  • After the update, remember-me uses a random key on each node. Old cookies stop working, so users log in again. A cluster uses the same GEOSERVER_REMEMBERME_KEY property on every node.

Before you start

  • A list of all GeoServer servers, including staging and servers that a vendor runs.
  • Root or sudo access to the server, or access to the GeoServer container.
  • The location of the GeoServer data folder, for example /opt/geoserver_data.
  • Access to the proxy in front of GeoServer, for example nginx, if there is one.
  • A network outside the office for the exposure test, for example a phone with mobile data.
  • A place to keep the data folder archive outside that server.

Step 1: Check the GeoServer version

Manual method: open the About GeoServer page in the admin console. Or read the file name gs-main-<version>.jar in the WEB-INF/lib folder. For many servers, use the script below.

Save this script as check-version-geoserver.sh. The script looks for gs-main-*.jar in common folders, then compares the version with the advisory limits. The script also accepts version numbers from other servers. The script only reads.

#!/usr/bin/env bash
# Check the GeoServer version for CVE-2026-120705, CVE-2026-129243, CVE-2026-129245, and other CVEs in the same release.
# The script only reads. The script changes nothing.
# Limits from the GeoServer advisories (23 November 2026): safe from 3.0.2, 2.28.6, and 2.27.7 (released 19 October 2026).
# Use: bash check-version-geoserver.sh                  (find gs-main-*.jar in common folders)
#      bash check-version-geoserver.sh /opt/tomcat      (find in this folder only)
#      bash check-version-geoserver.sh 2.28.5 2.26.2    (check versions from other servers)
set -u
clean() { printf '%s' "$1" | LC_ALL=C tr -cd '[:print:]' | cut -c1-100; }
older() { [ "$1" = "$2" ] && return 1; [ "$(printf '%s\n%s\n' "$1" "$2" | sort -V | head -n1)" = "$1" ]; }
row() { printf '%-12s %-16s %s\n' "$1" "$2" "$3"; }
rate() {
  local v; v=$(printf '%s' "$1" | grep -oE '^[0-9]+\.[0-9]+\.[0-9]+$')
  if [ -z "$v" ]; then row "$(clean "$1")" 'UNKNOWN' 'Write a release version such as 2.28.6. Nightly builds are not rated.'; return; fi
  case "$v" in
    3.0.*)  if older "$v" 3.0.2; then row "$v" VULNERABLE 'Update to 3.0.2 today.'; else row "$v" SAFE 'This version has the fix.'; fi ;;
    2.28.*) if older "$v" 2.28.6; then row "$v" VULNERABLE 'Update to 2.28.6 today.'; else row "$v" SAFE 'This version has the fix.'; fi ;;
    2.27.*) if older "$v" 2.27.7; then row "$v" VULNERABLE 'Update to 2.27.7, then move to the 2.28 or 3.0 series.'
            else row "$v" SAFE 'Has the fix. The 2.27 series is out of normal support.'; fi ;;
    *) if older "$v" 2.27.0; then row "$v" 'VULNERABLE, OLD' 'This series gets no patch. Move to 2.28.6 or 3.0.2.'
       else row "$v" 'NOT LISTED' 'Newer than the advisory. Read the release notes.'; fi ;;
  esac
}
row VERSION STATUS ACTION
if [ $# -gt 0 ] && [ ! -d "$1" ]; then
  for v in "$@"; do rate "$v"; done
  exit 0
fi
if [ $# -gt 0 ]; then DIRS=("$@"); else DIRS=(/usr/local/tomcat /opt /var/lib /usr/share /srv); fi
found=0
while IFS= read -r -d '' jar; do
  ver=$(basename "$jar" .jar); ver=${ver#gs-main-}
  rate "$ver"
  printf '             file: %s\n' "$(clean "$jar")"
  found=1
done < <(find "${DIRS[@]}" -maxdepth 8 -type f -name 'gs-main-*.jar' -path '*WEB-INF/lib/*' -print0 2>/dev/null)
if [ $found -eq 0 ]; then
  row '-' 'NOT FOUND' 'No gs-main-*.jar in these folders.'
  echo 'For a container: docker exec <name> ls /usr/local/tomcat/webapps/geoserver/WEB-INF/lib | grep gs-main'
fi
exit 0
# Read the gs-main-*.jar file on this server
bash check-version-geoserver.sh
# Check version numbers from other servers
bash check-version-geoserver.sh 2.28.5 3.0.1 2.27.7 2.26.2 3.0.2
Terminal: the version check finds gs-main-2.28.5.jar and shows VULNERABLE, then rates 5 version numbers from other servers.
The version numbers in the second run are dummy data. Source: Rama Digital test in a podman pod with the official GeoServer 2.28.5 and 2.28.6 images, nginx 1.29, and dummy data, 28 November 2026.

Our test result: in a container with the official 2.28.5 image, the script finds gs-main-2.28.5.jar and shows VULNERABLE. Of 5 version numbers, 2.28.5 and 3.0.1 show VULNERABLE, 2.26.2 shows VULNERABLE, OLD, and 2.27.7 and 3.0.2 show SAFE.

Edge tests: the numbers 2.28, abc, and 2.28.5-SNAPSHOT show UNKNOWN. The number 3.1.0 shows NOT LISTED.

Check the result:

  • "VULNERABLE" or "VULNERABLE, OLD": do Steps 2 and 3 today.
  • "SAFE": the version has the fix. Still run Step 5, because the flaws can be used before the update.
  • "NOT LISTED": the version is newer than the advisory. Read the release notes.
  • "UNKNOWN" or "NOT FOUND": compare by hand on the About GeoServer page.

Step 2: Check exposure and settings

This step answers 2 questions: what is open from the internet, and which settings add risk. The answers set the work order. They do not give a safe status.

Check exposure from outside

Save this script as check-exposure-geoserver.sh. The script sends 4 normal requests: WFS GetCapabilities, the /web/ page, REST, and 1 prefixed service name. The script only reads. Use this script only for servers that you own.

#!/usr/bin/env bash
# Check GeoServer exposure from one network for CVE-2026-120705 and CVE-2026-129243. The script only reads.
# Run it from an outside network (a phone on mobile data or a VPS), then from the office network. Use it only on your own server.
# Use: bash check-exposure-geoserver.sh https://maps.example.com/geoserver
set -u
U=${1:-}
printf '%s' "$U" | grep -qE '^https?://[A-Za-z0-9.-]+(:[0-9]{1,5})?(/[A-Za-z0-9._~/-]*)?$' ||
  { echo 'Write the GeoServer base URL, for example: https://maps.example.com/geoserver'; exit 2; }
U=${U%/}
T=$(mktemp -d); trap 'rm -rf "$T"' EXIT
code() { curl -s -o "$T/b" -w '%{http_code}' --max-time 20 --proto =http,https "$1" 2>/dev/null; }
caps() { grep -q 'WFS_Capabilities' "$T/b" 2>/dev/null; }
row() { printf '%-24s %-12s %s\n' "$1" "$2" "$3"; }
echo "== Check from this network: $U"
row CHECK RESULT MEANING
c=$(code "$U/ows?service=WFS&version=2.0.0&request=GetCapabilities")
wfs=0
if [ "$c" = 200 ] && caps; then
  wfs=1; n=$(grep -o -E '<(wfs:)?FeatureType[ >]' "$T/b" | wc -l)
  if [ "$n" -gt 0 ]; then row 'WFS without login' OPEN "$n layers visible without login. CVE-2026-120705 condition is met."
  else row 'WFS without login' OPEN 'The service answers, but no layer is open to guests.'; fi
else row 'WFS without login' CLOSED "Code $c. WFS does not answer guests."; fi
c=$(code "$U/web/")
case "$c" in 200|301|302|303) row 'Admin page /web/' REACHABLE "Code $c. Limit it to the office network or VPN.";;
  *) row 'Admin page /web/' CLOSED "Code $c.";; esac
c=$(code "$U/rest/about/version.json")
case "$c" in 200|401) row 'REST /rest/' REACHABLE "Code $c. Limit it to the office network or VPN.";;
  *) row 'REST /rest/' CLOSED "Code $c.";; esac
c=$(code "$U/ows?service=x/WFS&version=2.0.0&request=GetCapabilities")
if [ "$c" = 200 ] && caps; then
  if [ $wfs -eq 0 ]; then row 'Prefixed service' VULNERABLE 'Service rules are bypassed (CVE-2026-129243). Update today.'
  else row 'Prefixed service' PASSES 'The proxy rule in Step 4 is not active.'; fi
else row 'Prefixed service' BLOCKED "Code $c. The proxy or the server refuses this request."; fi
echo 'An OPEN, REACHABLE, PASSES, or VULNERABLE result from the internet means high risk. Update first (Step 3).'
# Run from outside the office network, then from the office network. Write your GeoServer URL.
bash check-exposure-geoserver.sh http://peta.example.go.id:8080/geoserver
Terminal: the exposure check shows WFS without login OPEN with 19 layers, /web/ and REST REACHABLE, and the prefixed service PASSES.
The script only reads. Use it only for servers that you own. Source: Rama Digital test in a podman pod with the official GeoServer 2.28.5 and 2.28.6 images, nginx 1.29, and dummy data, 28 November 2026.

Our test result: with the default data folder of the image, 19 layers are visible through WFS with no login. The /web/ page answers code 302 and REST answers 401, so both are reachable from the test network. The prefixed service request passes.

The 2.28.6 image also lets the prefixed request pass. So a PASSES result means that the proxy rule is not there yet. It is not proof of a vulnerable version. Use Step 1 for the version status.

Check the settings in the data folder

Save this script as check-settings-geoserver.sh. The script reads 4 items: remember-me and its key, the guest rules for layers and services, user-made stored queries, and JDBC user or role services. The script never shows key or password values.

#!/usr/bin/env bash
# Check GeoServer settings for CVE-2026-129245, CVE-2026-129243, CVE-2026-120705, and CVE-2026-129242. The script only reads.
# Use: sudo bash check-settings-geoserver.sh /opt/geoserver_data [version]
# For a container: docker exec -i <name> bash -s -- /opt/geoserver_data < check-settings-geoserver.sh
# The script never shows a key or a password.
set -u
D=${1:-}
[ -n "$D" ] && [ -r "$D/security/config.xml" ] || { echo 'Write the GeoServer data folder that holds security/config.xml, for example: /opt/geoserver_data'; exit 2; }
D=${D%/}
clean() { LC_ALL=C sed 's/[^[:print:]]/?/g' | cut -c1-110; }
older() { [ "$1" = "$2" ] && return 1; [ "$(printf '%s\n%s\n' "$1" "$2" | sort -V | head -n1)" = "$1" ]; }
V=${2:-}
[ -n "$V" ] || V=$(find /usr/local/tomcat /opt /var/lib /usr/share /srv -maxdepth 8 -type f -name 'gs-main-*.jar' -path '*WEB-INF/lib/*' 2>/dev/null | head -n1 | sed -E 's/.*gs-main-(.*)\.jar$/\1/')
V=$(printf '%s' "$V" | grep -oE '^[0-9]+\.[0-9]+\.[0-9]+$')
vuln=2
case "$V" in
  3.0.*) if older "$V" 3.0.2; then vuln=1; else vuln=0; fi ;;
  2.28.*) if older "$V" 2.28.6; then vuln=1; else vuln=0; fi ;;
  2.27.*) if older "$V" 2.27.7; then vuln=1; else vuln=0; fi ;;
  ?*) if older "$V" 2.27.0; then vuln=1; fi ;;
esac
echo "Version: ${V:-not found}"
C="$D/security/config.xml"
echo '== 1. Remember-me key (CVE-2026-129245)'
RM=$(awk '/<filters name="web"/{w=1} w&&/<\/filters>/{w=0} w&&/<filter>rememberme<\/filter>/{print "yes"; exit}' "$C")
K=$(sed -n '/<rememberMeService>/,/<\/rememberMeService>/s/.*<key>\(.*\)<\/key>.*/\1/p' "$C" | head -n1)
if [ -z "$K" ]; then ks='NOT SET'; elif [ "$K" = geoserver ]; then ks=DEFAULT; else ks=CHANGED; fi
printf '%-22s %s\n' 'remember-me in web' "$([ -n "$RM" ] && echo ON || echo OFF)" 'Key in config.xml' "$ks"
if [ -z "$RM" ]; then echo 'SAFE: remember-me is off. A forged cookie is not accepted.'
elif [ $vuln -eq 0 ]; then echo 'SAFE: this version uses a random key on each node, not the key in config.xml.'
elif [ $vuln -eq 1 ] && [ "$ks" = DEFAULT ]; then echo 'RISK: the default key is in use. Turn off remember-me in Step 4, then update.'
elif [ $vuln -eq 1 ]; then echo 'RISK: the key leaks if the data folder leaks. Turn off remember-me in Step 4, then update.'
else echo 'CHECK: the version is unknown. Turn off remember-me until the version is clear.'; fi
echo '== 2. Guest access (CVE-2026-120705, CVE-2026-129243)'
L=$(grep -vE '^[[:space:]]*(#|$)' "$D/security/layers.properties" 2>/dev/null)
S=$(grep -vE '^[[:space:]]*(#|$)' "$D/security/services.properties" 2>/dev/null)
echo 'layers.properties:'; printf '%s\n' "${L:-(empty)}" | head -n 8 | sed 's/^/  /' | clean
echo 'services.properties:'; printf '%s\n' "${S:-(empty)}" | head -n 8 | sed 's/^/  /' | clean
if printf '%s\n' "$L" | grep -qE '\.r=[^#]*(\*|ROLE_ANONYMOUS)'; then echo 'CHECK: some layers are open to guests. The CVE-2026-120705 condition is met if WFS is on.'; fi
if [ $vuln -ne 0 ] && [ -n "$S" ]; then echo 'CHECK: the service rules above can be bypassed in this version (CVE-2026-129243). Add the proxy rule in Step 4.'; fi
echo '== 3. Stored queries in the data folder (CVE-2026-129243)'
Q=$(find "$D/wfs/query" "$D"/workspaces/*/wfs/query -maxdepth 1 -type f 2>/dev/null)
if [ -n "$Q" ]; then
  printf '%s\n' "$Q" | while IFS= read -r f; do printf '  %s  %s\n' "$(date -r "$f" '+%Y-%m-%d %H:%M')" "${f#"$D"/}"; done | clean
  echo 'CHECK: compare with the stored queries your team made. Keep a copy, then delete the unknown ones.'
else echo 'No user-made stored queries.'; fi
echo '== 4. JDBC user and role services (CVE-2026-129242)'
J=$(grep -l -i 'jdbc' "$D"/security/usergroup/*/config.xml "$D"/security/role/*/config.xml 2>/dev/null)
if [ -n "$J" ]; then
  printf '%s\n' "$J" | while IFS= read -r f; do f=${f#"$D/security/"}; printf '  %s\n' "${f%/config.xml}"; done | clean
  echo 'CHECK: a JDBC service is on. Limit the admin page and REST to the office network until the update.'
else echo 'No JDBC user or role service.'; fi
# Run on the GeoServer server. Write your GeoServer data folder.
sudo bash check-settings-geoserver.sh /opt/geoserver_data
# For a container: run the script inside the container
docker exec -i <name> bash -s -- /opt/geoserver_data < check-settings-geoserver.sh
Terminal: the settings check reads remember-me ON with the DEFAULT key, guest rules for layers and services, stored queries, and JDBC services.
The script never shows key or password values. Source: Rama Digital test in a podman pod with the official GeoServer 2.28.5 and 2.28.6 images, nginx 1.29, and dummy data, 28 November 2026.

Our test result: on 2.28.5, remember-me is ON and the key is DEFAULT, so the script shows RISK. The layer rules give read access to everyone (*.*.r=*), so the CVE-2026-120705 condition is met.

Edge tests: after we removed remember-me from the web chain, the script shows OFF and SAFE. With a changed key, the script shows CHANGED and RISK, because the key leaks if the data folder leaks. With dummy data, the script shows 1 stored query and 1 JDBC service with the CHECK label.

Check the result: an old server with WFS OPEN, /web/ REACHABLE, or remember-me with the DEFAULT key is the first priority. A stored query or JDBC service with the CHECK label needs a manual check in Step 5.

Step 3: Save the data folder, then update to 3.0.2, 2.28.6, or 2.27.7

Only the update closes these flaws. The data folder keeps layers, users, and settings. Save a copy first, because the data folder is evidence if the server was touched.

For GeoServer in a container, the order is as follows. The official image is at docker.osgeo.org/geoserver.

# Save a copy of the data folder first
podman exec geoserver tar -czf - -C /opt geoserver_data > geoserver-data-before-update.tgz
du -h geoserver-data-before-update.tgz
# Run the 2.28.6 image with the same data folder. Using docker? Replace podman with docker.
podman rm -f geoserver
podman run -d --name geoserver --pod geouji --memory 3g -v geodata:/opt/geoserver_data docker.osgeo.org/geoserver:2.28.6
# Check the version and remember-me again from outside the container
podman exec -i geoserver bash -s < check-version-geoserver.sh
podman exec -i geoserver bash -s -- /opt/geoserver_data < check-settings-geoserver.sh | sed -n '1,5p'
Terminal: a 3.5 MB data folder archive, a new container with the GeoServer 2.28.6 image and the same volume, then a version check that shows SAFE.
The test uses the official docker.osgeo.org/geoserver image. Source: Rama Digital test in a podman pod with the official GeoServer 2.28.5 and 2.28.6 images, nginx 1.29, and dummy data, 28 November 2026.

Our test result: the data folder archive has 3.5 MB. The 2.28.6 container runs with the same volume, and the Step 1 script shows SAFE. The security/config.xml file still has the default key. The settings script still shows SAFE, because the advisory says that this version uses a random key on each node.

We did not test an update through a WAR file on Tomcat, the Windows installer, the 3.0 series, the 2.27 series, or a cluster.

Important before rm -f: make sure that the data folder is on a volume or a host folder, not inside the container. Check the Mounts section in the output of docker inspect geoserver. If the data folder is inside the container, the .tgz archive is the only copy.

The command above uses --pod geouji from our test. On your server, use the same ports, volumes, and env variables as the old container, for example -p 8080:8080.

For a WAR install on Tomcat:

  1. Stop Tomcat.
  2. Save a copy of the data folder and the old geoserver.war file.
  3. Replace it with the WAR file of the fixed version from the GeoServer 2.28.6 release announcement or the release page of your series.
  4. Make sure that GEOSERVER_DATA_DIR still points to the old data folder.
  5. Update every extension to the same version as GeoServer.
  6. Start Tomcat, then run the Step 1 script.
Fix order: check the version, update to 3.0.2, 2.28.6, or 2.27.7, temporary layers from the vendor and Rama Digital analysis, look for signs, then incident actions.
The numbers in the image are the work order for today. In the article, the update is Step 3 and the temporary layer is Step 4. Source: the GeoServer GitHub advisories and Rama Digital analysis.

Check the result: the Step 1 script shows "SAFE". Open 1 public map and log in to the admin console to make sure that the service still works.

Step 4: Temporary layers if the update is delayed, NOT safe

Use this step only if you cannot update today. This step does NOT make GeoServer safe. The old version is still vulnerable.

Vendor mitigations

  1. WFS: turn off WFS in Services > WFS if you do not use it. Or limit WFS for guests in Security > Services. On old versions the service rules can be skipped, so also add the proxy rule in item 2.
  2. Prefixed service: block a service parameter that contains a slash at the proxy, and also the service attribute in XML requests.
  3. Remember-me: open Security > Authentication, open the web filter chain, remove rememberme, then save. Or set a long random key. If you suspect that the server was exposed, change the admin password.

The nginx layer, Rama Digital analysis

Rama Digital analysis: the nginx file below has the vendor rule in item 2, plus 3 rules for guests from outside the office:

  • Refuse /web/ and /rest/. Admin access comes only from the office network or a VPN.
  • Accept only GET and HEAD. POST, PUT, and DELETE are refused.
  • Refuse GetFeatureById, stored query operations, and letters or digits in percent code form.

Save this file as nginx-geoserver-temporary.conf. Replace the 4 values at the top of the file with the values of your server.

# Temporary layer in front of GeoServer for CVE-2026-129243, CVE-2026-120705, and CVE-2026-129242.
# The prefixed service rule comes from the vendor advisory. The other rules are a Rama Digital analysis.
# This layer does NOT make GeoServer safe. The update to 2.28.6, 3.0.2, or 2.27.7 is still required.
# Put this file in /etc/nginx/conf.d/, then change these 4 values:
#   198.51.100.0/24      your office network or VPN
#   maps.example.com     the GeoServer domain name
#   127.0.0.1:8080       the GeoServer address behind nginx
#   /geoserver/          the GeoServer context path
# Guests outside the office can use GET and HEAD only. Public clients that use POST are refused.
# If nginx sits behind a load balancer, set real_ip first so that $remote_addr holds the real address.

geo $office {
    default 0;
    198.51.100.0/24 1;
}

# Vendor rule: refuse a service parameter that holds a slash, for all clients.
# Rama Digital addition: %25 stops a slash that is encoded 2 times.
map $args $service_slash {
    default 0;
    "~*(^|&)[^&=]*service[^&=]*=[^&]*(/|%2f|%25)" 1;
}

# For guests: refuse stored queries, GetFeatureById, and letters or digits in percent form (for example %41).
map $args $args_refuse {
    default 0;
    "~*storedquer" 1;
    "~*getfeaturebyid" 1;
    "~*%(3[0-9]|4[1-9a-f]|5[0-9a]|6[1-9a-f]|7[0-9a])" 1;
}

# For guests: refuse the admin page, REST, and paths with a semicolon.
map $uri $admin_path {
    default 0;
    "~*/(web|rest)(/|\.|$)" 1;
    "~;" 1;
}

map $request_method $read_method {
    default 0;
    GET 1;
    HEAD 1;
}

server {
    listen 80;
    server_name maps.example.com;

    location /geoserver/ {
        if ($service_slash) { return 403; }
        # Order: office, args_refuse, admin_path, read_method. A guest is refused if one condition hits.
        set $check "${office}${args_refuse}${admin_path}${read_method}";
        if ($check ~ "^0(1..|.1.|..0)$") { return 403; }
        proxy_pass http://127.0.0.1:8080;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}
# This layer does NOT make GeoServer safe. The update is still required.
# Add the rules, then test the syntax
sudo cp nginx-geoserver-temporary.conf /etc/nginx/conf.d/geoserver.conf
sudo nginx -t && sudo nginx -s reload
# Test from outside the office network
bash check-exposure-geoserver.sh http://peta.example.go.id/geoserver
curl -s -o /dev/null -w '%{http_code}\n' -X POST http://peta.example.go.id/geoserver/ows
# The public map still works
curl -s -o /dev/null -w '%{http_code}\n' 'http://peta.example.go.id/geoserver/wms?service=WMS&version=1.1.1&request=GetMap&layers=topp:states&styles=&srs=EPSG:4326&bbox=-125,24,-66,50&width=400&height=200&format=image%2Fpng'
Terminal: the temporary nginx rules are on. From outside the office, /web/, REST, and the prefixed service get 403, POST is refused, the public WMS map still gets 200.
This step does not make GeoServer safe. Source: Rama Digital test in a podman pod with the official GeoServer 2.28.5 and 2.28.6 images, nginx 1.29, and dummy data, 28 November 2026.

Our test result with nginx 1.29.8: from outside the office network, /web/ and REST answer 403, and the prefixed service gets 403. A POST from a guest gets 403. The public WMS map still answers 200.

We also tested 22 guest request variants that try to get past the rules. All of them got 403. GetCapabilities, HEAD, and a normal GetFeature still answer 200. From the office network, /web/ answers 302, REST 401, and POST still works. The prefixed service is still refused for all clients.

WFS off test: we turned off WFS on 2.28.5. After that, normal and prefixed WFS requests both got an error message from GeoServer.

Effect of this step: public clients that use POST, for example apps that edit data through WFS-T, are refused. Admins outside the office must come in through a VPN. After the update, you can keep the /web/ and /rest/ rules.

Step 5: Look for signs that the server was touched

The update closes the flaws, but it does not remove stored queries, users, or files that an attacker made. So look for traces before and after the update. Start from 19 October 2026 or earlier.

Vendor signs: "Illegal property name" error messages that hold file text, and new stored queries in wfs/query or workspaces/*/wfs/query. The other signs below are Rama Digital analysis:

  • A service parameter with a slash in the access logs.
  • CreateStoredQuery or DropStoredQuery requests from addresses that you do not know.
  • GetFeatureById requests with quote marks or angle brackets.
  • POST, PUT, or DELETE to /rest/resource or /rest/security.
  • New or changed files in the security folder.

Save this script as check-signs-geoserver.sh. The script reads Tomcat, nginx, and Apache access logs, including .gz files, then the GeoServer log and the data folder. The script only reads, and it does not change, delete, or send anything.

#!/usr/bin/env bash
# Look for attack signs linked to CVE-2026-120705, CVE-2026-129243, and CVE-2026-129242 on a GeoServer server. The script only reads.
# Use: sudo bash check-signs-geoserver.sh /opt/geoserver_data [access log ...]
# Default access logs: Tomcat, nginx, and Apache logs in common places. .gz files are read too.
# DAYS=7 sets the time window for the file change check. A CHECK result is not proof of an attack. It asks for a manual check.
set -u
D=${1:-}
[ -n "$D" ] && [ -d "$D/security" ] || { echo 'Write the GeoServer data folder, for example: sudo bash check-signs-geoserver.sh /opt/geoserver_data'; exit 2; }
D=${D%/}; shift
DAYS=${DAYS:-7}
clean() { LC_ALL=C sed 's/[^[:print:]]/?/g' | cut -c1-110; }
LOG=()
if [ $# -gt 0 ]; then
  for f in "$@"; do if [ -r "$f" ]; then LOG+=("$f"); else echo "Log file not found: $f" | clean; fi; done
else
  for f in /usr/local/tomcat/logs/localhost_access_log* /var/log/tomcat*/localhost_access_log* /opt/tomcat*/logs/localhost_access_log* \
           /var/log/nginx/access.log* /var/log/apache2/access.log* /var/log/httpd/access_log*; do [ -f "$f" ] && LOG+=("$f"); done
fi
found=0
readlogs() { [ ${#LOG[@]} -gt 0 ] && zcat -f -- "${LOG[@]}" 2>/dev/null; }
match() {
  local h n w
  if [ -n "${3:-}" ]; then h=$(readlogs | grep -a -i -E -- "$2" | grep -a -i -E -- "$3"); else h=$(readlogs | grep -a -i -E -- "$2"); fi
  if [ -n "$h" ]; then
    n=$(printf '%s\n' "$h" | wc -l); [ "$n" -eq 1 ] && w=line || w=lines
    echo "CHECK: $1: $n $w"
    printf '%s\n' "$h" | awk '{print $1}' | sort | uniq -c | sort -rn | head -n 3 | awk '{printf "  %-5s %s\n", $1, $2}' | clean
    found=$((found+1))
  else echo "Clean: $1"; fi
}
echo "== 1. Suspicious requests in the access logs (log files: ${#LOG[@]})"
if [ ${#LOG[@]} -gt 0 ]; then
  match 'prefixed service (CVE-2026-129243)' '[?&]service=[^& ]*(/|%2f)'
  match 'create or drop stored query' 'request=(create|drop)storedquer'
  match 'GetFeatureById with quotes or angle brackets (CVE-2026-120705)' 'getfeaturebyid' "(%27|%3c|%22|'|<)"
  match 'REST resource or security change (CVE-2026-129242)' '(post|put|delete) [^ ]*/rest/(resource|security)'
  echo 'Compare the addresses above with your office and VPN addresses.'
else echo 'No access log found. Write the log location as an argument.'; fi
echo '== 2. "Illegal property name" errors in the GeoServer log'
E=$(zcat -f -- "$D"/logs/geoserver.log* 2>/dev/null | grep -a -c 'Illegal property name')
if [ "${E:-0}" -gt 0 ]; then [ "$E" -eq 1 ] && w=line || w=lines; echo "CHECK: $E $w. Client typos also cause this error. Match the time with the access log."; found=$((found+1))
else echo 'No such error.'; fi
echo "== 3. Files changed in the last $DAYS days"
Q=$(find "$D/wfs/query" "$D"/workspaces/*/wfs/query -maxdepth 1 -type f -mtime -"$DAYS" 2>/dev/null)
[ -n "$Q" ] && { echo 'CHECK: new or changed stored queries:'; printf '%s\n' "$Q" | sed 's/^/  /' | clean; found=$((found+1)); }
S=$(find "$D/security" -type f -mtime -"$DAYS" 2>/dev/null | head -n 10)
[ -n "$S" ] && { echo 'CHECK: the security folder changed (new user, role, or service):'; printf '%s\n' "$S" | sed 's/^/  /' | clean; found=$((found+1)); }
[ -z "$Q" ] && [ -z "$S" ] && echo 'No change in stored queries or the security folder.'
echo '== Result'
if [ $found -gt 0 ]; then echo "CHECK: $found findings. Cut internet access to GeoServer, keep a copy of the logs and the data folder,"
  echo 'change the admin passwords, then ask for incident response help.'
else echo 'No findings from the automatic checks. Still update to a safe version.'; fi
# Write the data folder, then the access logs. With no logs, the script looks for Tomcat, nginx, and Apache logs in common places.
sudo bash check-signs-geoserver.sh /opt/geoserver_data /var/log/nginx/access.log
# A 14 day window for the file change check, not 7 days
sudo env HARI=14 bash check-signs-geoserver.sh /opt/geoserver_data
Terminal: the signs script reads access logs, Illegal property name errors, new stored queries, and changes in the security folder, then shows 7 findings.
The logs, stored query, JDBC service, and documentation IPs are dummy data. Source: Rama Digital test in a podman pod with the official GeoServer 2.28.5 and 2.28.6 images, nginx 1.29, and dummy data, 28 November 2026.
5 signs that a server was touched: prefixed services, unknown stored queries, REST changes, Illegal property name errors, and new files in the data folder.
Bottom box: a clean result is not proof of safety. Source: the GeoServer GitHub advisories and Rama Digital analysis.

Our test result: we put dummy access logs, 1 dummy error line, 1 dummy stored query, and 1 dummy JDBC service in place. The script found 2 prefixed service lines, 1 stored query line, and 1 suspicious GetFeatureById line from 203.0.113.77, and 1 REST change from 203.0.113.45. Final result: "CHECK: 7 findings".

A second test read a .gz log and 2 log files at once. Both IPs are documentation addresses per RFC 5737.

Script limits: these patterns are common signs, not a full list. Client typos can also cause the "Illegal property name" error. An attacker can delete logs. A CHECK result is not proof of an attack. It is a sign for a manual check.

If you see a sign, follow this order:

  1. Cut internet access to GeoServer. Do not turn off the server yet.
  2. Keep a copy of the access logs, the GeoServer log, and the data folder.
  3. Change the GeoServer admin password, then the database and service passwords kept in the data folder.
  4. Ask for incident response help. Restore from a clean backup if needed.
  5. Install the fixed version, then watch the logs for 14 days.

Example: 1 morning of response for 2 map servers

This simulation uses dummy data. The server names, times, and results are not customer data.

Time (WIB)Dummy serverWhat we checkResultAction
08.00portal-peta (public)Step 12.28.5 VULNERABLEFirst priority
08.15portal-petaStep 219 open layers, /web/ reachable, remember-me with the default keyLook for signs before the update
08.30portal-petaStep 52 prefixed service lines from an unknown address, 1 unknown stored queryCut internet access, keep evidence, change admin passwords, ask for incident response
09.00geo-staging (internal)Steps 1 and 32.27.5 now on 2.27.7Plan a move to the 2.28 series
10.00portal-petaSteps 3 and 4Restored from a clean backup, now on 2.28.6, nginx rules onOpen the public map again
10.30All serversSteps 1 and 5 againSAFE on 2 serversWatch the logs for 14 days

Lesson from this simulation: look for signs before the update, because the update does not remove traces. Keep evidence before you restore the server.

Who does the work

The server admin or the GIS vendor owns the GeoServer update, the data folder, and the proxy. The network team owns the VPN and firewall rules. The service owner picks the update window for the public map portal.

Rama Digital recommendation: record every server, version, public URL, data folder location, and access owner in 1 table. This table also helps when new flaws come out, such as the RealVNC flaw CVE-2026-137738 and the VMware ESX flaw CVE-2026-123910.

Checklist for today

  1. List all GeoServer servers. Owner: server admin. Evidence: a list of servers and versions.
  2. Check versions with Step 1. Owner: server admin. Evidence: the script output.
  3. Check exposure and settings with Step 2. Owner: server admin. Evidence: the script output from outside and from inside.
  4. Look for signs with Step 5 before the update. Owner: server admin. Evidence: the script output.
  5. Save the data folder, then update. Owner: server admin or vendor. Evidence: the Step 1 output after the update.
  6. If the update is delayed, add the temporary layer in Step 4. Owner: server admin. Evidence: the exposure script output from outside.

Questions and answers

Our GeoServer only serves a public map with no secret data. Must we still update?

Yes. These flaws read files on the server, not only map data. The data folder often holds database passwords and admin accounts.

We do not use WFS. Are we safe?

Not for sure. WFS is on by default. Check with Step 2, then turn off WFS if you do not use it. The update is still required because of the other CVEs in the same release.

Do the Security > Services rules stop guests?

Not on old versions. CVE-2026-129243 lets guests skip the service rules. Also add the proxy rule, then update.

Is a GeoServer on the internal network also affected?

Yes. Other computers on the same network can still send requests. The risk is lower than for a public server, but the update is still required.

Will the update log users out?

Yes, for remember-me cookies. The new version uses a random key on each node, so users log in again. A cluster needs the same GEOSERVER_REMEMBERME_KEY on every node.

Our server runs GeoServer 2.25. What must we do?

Series below 2.27 get no patch. Move to 2.28.6 or 3.0.2. Until the move, add the temporary layer in Step 4.

Does a clean result from the signs script prove that the server is safe?

No. An attacker can delete logs, and the patterns in the script are not complete. Keep evidence, watch the logs after the update, and ask for an analysis if you have doubts.

Can the nginx layer replace the update?

No. This layer closes some paths from outside the office. The old version is still vulnerable from the office network and from paths that the rules do not cover.

Next step

Limits that still apply: Step 4 does not make GeoServer safe, and the update does not clean a server that was touched. If your server shows signs in Step 5, or you need help with an audit and recovery, use Vibe Code Rescue. For 1 urgent problem today, book a 30 minute session.

Sources