# CVE-2024-23634: GeoServer arbitrary file renaming vulnerability in REST Coverage/Data Store API

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.0
- **CVSS:** 6.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.89% (percentile 57, 2026-11-26)
- **CWE:** CWE-20, CWE-73
- **Aliases:** GHSA-75m5-hh4r-q9gx
- **Published:** 2024-03-20T15:01:48.000Z
- **Modified:** 2026-09-10T03:50:10.253Z

## Who should check

- Projects that depend on Maven package org.geoserver:gs-restconfig (\< 2.23.5)
- Anyone running geoserver \< 2.23.5; \>= 2.24.0, \< 2.24.2

## Description

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. An arbitrary file renaming vulnerability exists in versions prior to 2.23.5 and 2.24.2 that enables an authenticated administrator with permissions to modify stores through the REST Coverage Store or Data Store API to rename arbitrary files and directories with a name that does not end in \`.zip\`. Store file uploads rename zip files to have a \`.zip\` extension if it doesn't already have one before unzipping the file.  This is fine for file and url upload methods where the files will be in a specific subdirectory of the data directory but, when using the external upload method, this allows arbitrary files and directories to be renamed. Renaming GeoServer files will most likely result in a denial of service, either completely preventing GeoServer from running or effectively deleting specific resources (such as a workspace, layer or style).  In some cases, renaming GeoServer files could revert to the default settings for that file which could be relatively harmless like removing contact information or have more serious consequences like allowing users to make OGC requests that the customized settings would have prevented them from making. The impact of renaming non-GeoServer files depends on the specific environment although some sort of denial of service is a likely outcome. Versions 2.23.5 and 2.24.2 contain a fix for this issue.

## Affected and fixed versions

- Maven `org.geoserver:gs-restconfig`: affected \< 2.23.5; fixed 2.23.5, 2.24.2 (osv)
- geoserver: \< 2.23.5; \>= 2.24.0, \< 2.24.2 (cvelist)

## Mitigation

- Upgrade org.geoserver:gs-restconfig to one of 2.23.5, 2.24.2 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-23634. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-23634.md
Affected: org.geoserver:gs-restconfig < 2.23.5
Fixed in: 2.23.5, 2.24.2

Steps:
1. Search this machine and project for org.geoserver:gs-restconfig (Maven), geoserver: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-23634 being exploited?

There is no confirmed exploitation: CVE-2024-23634 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.89% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-23634?

Medium: CVSS 6.0 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2024-23634?

org.geoserver:gs-restconfig \< 2.23.5.

### Is there a fix for CVE-2024-23634?

Yes. Fixed in 2.23.5, 2.24.2. Upgrade org.geoserver:gs-restconfig to one of 2.23.5, 2.24.2 (or later in the same release line).

### How do I check if I'm affected by CVE-2024-23634?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/geoserver/geoserver/security/advisories/GHSA-75m5-hh4r-q9gx>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-23634>
- patch: <https://github.com/geoserver/geoserver/pull/7289>
- patch: <https://github.com/geoserver/geoserver/commit/5d6af2f8ba9ad7dffae59575504a867159698772>
- patch: <https://github.com/geoserver/geoserver/commit/c37f58fbacdfa0d581a6f99195585f70b1201f0a>
- other: <https://osgeo-org.atlassian.net/browse/GEOS-11213>
- other: <https://github.com/geoserver/geoserver>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-23634>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-75m5-hh4r-q9gx> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-23634> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-23634>
