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

- Severity: Medium 6.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 57% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-20T15:01:48.000Z
- Modified: 2026-11-30T19:14:34.723Z
- Also known as: GHSA-75m5-hh4r-q9gx
- Weaknesses: CWE-20, CWE-73
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- geoserver geoserver: < 2.23.5; >= 2.24.0, < 2.24.2
- org.geoserver:gs-restconfig (Maven): before 2.23.5; from 2.24.0 before 2.24.2
- osgeo geoserver: before 2.23.5; from 2.24.0 before 2.24.2

## Every score

- GitHub_M: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H`
- GitHub: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H`

## References

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

## Sources

- CVE List: [CVE-2024-23634](https://www.cve.org/CVERecord?id=CVE-2024-23634), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-75m5-hh4r-q9gx](https://github.com/advisories/GHSA-75m5-hh4r-q9gx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-23634](https://nvd.nist.gov/vuln/detail/CVE-2024-23634), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2024-23634 · Whole record: https://cve.day/CVE-2024-23634.json · Rebuilt by cve.day 2026-11-30T19:17:12.666Z
