---
title: "GeoServer RCE Chain Check (CVE-2026-129242)"
canonical: https://trickest.com/library/geoserver-rce-chain-check-cve-2026-129242
description: "Fingerprint GeoServer instances and sort them against the fixed releases for the five-bug unauthenticated RCE chain behind CVE-2026-129242."
---

# GeoServer RCE Chain Check (CVE-2026-129242)

## Overview

This workflow finds GeoServer instances missing the fixed releases for the five-bug chain that reaches unauthenticated code execution on a default install: a data-directory path leak, an auth bypass in service dispatch, a stored-query file read and fetch primitive, a forged admin cookie from a hard-coded signing key, and deserialization in the JDBC user services at the end. The project's own advisories score the chain pieces between 6.9 and 9.2, honeypots have seen probing against the front of the chain, and none of the records had populated NVD or KEV entries at compile time, so scores rest on the project advisories. The chain pieces are one story, so the workflow emits one verdict per host with all CVE ids attached and sorts versions against the fixed releases 2.27.7, 2.28.6, and 3.0.2. Each host comes back with a verdict you can feed into [exposure management](/use-cases/exposure-management).

## Pipeline

1. Read the target list and GET the GeoServer web UI login page, where the version string usually appears.
2. Fall back to the bare context path when the web UI path does not answer.
3. Send one WFS GetCapabilities request against the OWS endpoint to confirm the service is live and speaking GeoServer.
4. Classify the version against the fixed releases; a version below them is exposed to the chain, and a version at or above them is not exposed. Unreadable versions keep the row uncertain rather than clean.
5. Reconcile one verdict per target and write findings plus summary counts, with all six CVE ids attached to each finding.

## Inputs

- **Target list.** GeoServer base URLs you are authorized to test. The default file ships a sample fleet list; bind your own.

## Outputs

- **findings.jsonl.** One row per host: URL, version and its source, service confirmation, verdict with the CVE id list attached, severity, and evidence.
- **summary.jsonl.** One line with verdict counts and the sorted target lists per verdict.

## Integrations

- HTTP. Three GET requests per host: the web UI, a discovery fallback, and one GetCapabilities document. No POSTs and no chain steps are ever sent.

## Sample output

The records below are illustrative and do not come from a real run. They show a server below the fixes, a patched one, and one where the version is not readable.

```jsonl
{"target": "https://maps-a.example.com", "is_geoserver": true, "version": "2.26.2", "version_source": "web UI", "service_confirmed": true, "verdict": "exposed", "cve_ids": ["CVE-2026-129242", "CVE-2026-129243", "CVE-2026-129244", "CVE-2026-129245", "CVE-2026-120705", "CVE-2026-120704"], "detail": "version below 2.27.7 / 2.28.6 / 3.0.2", "error": null}
{"target": "https://maps-b.example.org", "is_geoserver": true, "version": "2.28.6", "version_source": "web UI", "service_confirmed": true, "verdict": "not_exposed", "cve_ids": ["CVE-2026-129242", "CVE-2026-129243", "CVE-2026-129244", "CVE-2026-129245", "CVE-2026-120705", "CVE-2026-120704"], "detail": "at the fixed release for its line", "error": null}
{"target": "https://maps-c.example.net", "is_geoserver": true, "version": null, "version_source": null, "service_confirmed": true, "verdict": "inconclusive", "cve_ids": ["CVE-2026-129242", "CVE-2026-129243", "CVE-2026-129244", "CVE-2026-129245", "CVE-2026-120705", "CVE-2026-120704"], "detail": "GeoServer confirmed but version hidden", "error": null}
```

```json
{"cve": "CVE-2026-129242", "product": "GeoServer", "total_targets": 3, "verdict_counts": {"exposed": 1, "not_exposed": 1, "inconclusive": 1}, "exposed_targets": ["https://maps-a.example.com"], "not_exposed_targets": ["https://maps-b.example.org"], "inconclusive_targets": ["https://maps-c.example.net"], "error_targets": []}
```

## FAQ

### Why does one finding carry six CVE ids?

The six records are one chain on the same product: a path leak, an auth bypass, a read primitive, a forged admin session, and two code-execution finishes. A host missing the fixed releases is exposed to the chain as a whole, so the workflow reports one issue per host with the full id list.

### Does the workflow exercise any chain step?

No. Every chain step needs crafted requests, from stored-query exceptions to the deserialization payload. The workflow sends three ordinary GET requests and reads what comes back.

### Which versions are affected?

The fixes shipped on 2026-10-19 in GeoServer 2.27.7, 2.28.6, and 3.0.2, with matching GeoTools releases. Older builds carry the whole chain on a default install.

### What is CVE-2026-129242?

Deserialization in GeoServer's JDBC user and role services, the code-execution step of the chain. At compile time the CVE records were still populating, so the workflow keeps the provenance note on its rows.

## Related workflows

- [Apache Roller XML-RPC RCE (CVE-2026-129448)](/library/apache-roller-xmlrpc-rce-check-cve-2026-129448). Reach for it when the next chain that ends in deserialization is a Java CMS instead of a map server.
- [Metabase SQL Injection (CVE-2026-72898)](/library/metabase-sql-injection-check-cve-2026-72898). Reach for it when the next exposed data platform console is a BI server.
- [Confluence SOAP Axis Exposure (CVE-2026-90436)](/library/confluence-soap-axis-exposure-check-cve-2026-90436). Reach for it when the next legacy surface is a SOAP endpoint.

---
_Markdown source of https://trickest.com/library/geoserver-rce-chain-check-cve-2026-129242._
