GeoServer < 2.27.7 / 2.28.x < 2.28.6 / 3.0.x < 3.0.2 WFS Data Directory Path Disclosure

medium Web App Scanning Plugin ID 115868

Synopsis

GeoServer < 2.27.7 / 2.28.x < 2.28.6 / 3.0.x < 3.0.2 WFS Data Directory Path Disclosure

Description

GeoServer versions through 2.27.6, 2.28.0 through 2.28.5 and 3.0.0 through 3.0.1 disclose the absolute data directory path in WFS stored query exception reports. An unauthenticated request with an overlong stored query id triggers a file system error whose message includes the full path. The disclosed path can facilitate other attacks but does not by itself grant access to files or establish remote code execution.

Solution

Upgrade to GeoServer 2.27.7, 2.28.6, 3.0.2 or a later fixed version.

See Also

https://github.com/Crypto-Cat/geoserver-unauth-rce-poc

https://github.com/geoserver/geoserver/security/advisories/GHSA-4v26-c537-jvxc

Plugin Details

Severity: Medium

ID: 115868

Type: Check Based

Published: 11/25/2026

Updated: 11/30/2026

Scan Template: basic, full, pci, scan

Risk Information

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: Tenable

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CVSS Score Source: Tenable

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: Tenable

Vulnerability Information

CPE: cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 11/22/2026

Reference Information

CVE: CVE-2026-129244