Critical Severity CVE-2026-129245
Published: Nov 25, 2026

[GitHub] geoserver-unauth-rce-poc

Rce
Type
N/A
CVSS Score
1
Views
Anonymous
Author

Description

Proof of concept for a pre-auth GeoServer RCE chain (CVE-2026-129244, CVE-2026-129243, CVE-2026-120705, CVE-2026-129245, CVE-2026-129242) via WFS stored queries, a forged remember-me cookie and HSQLDB deserialization. Fixed in 3.0.2, 2.28.6 and 2.27.7.

# GeoServer Unauthenticated RCE PoC

Proof-of-concept exploit for the unauthenticated remote command execution chain in the [GeoServer pre-auth RCE writeup](https://cryptocat.me/blog/research/analysis/geoserver_preauth_rce/). I found the chain and reported it to GeoServer on August 2, 2026. GeoServer fixed it in 3.0.2, 2.28.6 and 2.27.7, and published it as five advisories on November 23, 2026.

| Step | CVE | Advisory | Severity |
| --- | --- | --- | --- |
| Data-directory path in WFS exception | [CVE-2026-129244](https://nvd.nist.gov/vuln/detail/CVE-2026-129244) | [GHSA-4v26-c537-jvxc](https://github.com/geoserver/geoserver/security/advisories/GHSA-4v26-c537-jvxc) | 6.9 (medium) |
| `service=x/WFS` operation-security bypass | [CVE-2026-129243](https://nvd.nist.gov/vuln/detail/CVE-2026-129243) | [GHSA-rv5g-g2r9-58rj](https://github.com/geoserver/geoserver/security/advisories/GHSA-rv5g-g2r9-58rj) | 8.8 (high) |
| Stored-query XInclude local file read | [CVE-2026-120705](https://nvd.nist.gov/vuln/detail/CVE-2026-120705) | [GHSA-39mw-5chv-jh47](https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47) | 8.6 (high, CVSS 3.1) |
| Predictable remember-me key permits administrator-session forgery | [CVE-2026-129245](https://nvd.nist.gov/vuln/detail/CVE-2026-129245) | [GHSA-hgm3-wq4h-8vvq](https://github.com/geoserver/geoserver/security/advisories/GHSA-hgm3-wq4h-8vvq) | 9.2 (critical) |
| JDBC user-service deserialisation | [CVE-2026-129242](https://nvd.nist.gov/vuln/detail/CVE-2026-129242) | [GHSA-9wf2-fcgq-vxhq](https://github.com/geoserver/geoserver/security/advisories/GHSA-9wf2-fcgq-vxhq) | 8.6 (high) |

Severities are GeoServer's CVSS 4.0 scores unless noted.

## Usage

`geoserver_preauth_rce.py` runs the whole chain from an anonymous WFS request to command output. Run only against systems you are authorised to test.

```console
python3 geoserver_preauth_rce.py -u http://127.0.0.1:18080/geoserver -c id
```

```text
[*] Probing anonymous WFS stor

Community Rating
0

Login to rate this exploit

Quick Actions