# CVE-2023-41877: GeoServer log file path traversal vulnerability

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/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.84%, higher than 58% of CVEs (2026-12-01)
- Published: 2024-03-20T14:27:34.308Z
- Modified: 2026-11-30T19:14:34.723Z
- Also known as: GHSA-8g7v-vjrc-x4g5
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A path traversal vulnerability in versions 2.23.4 and prior requires GeoServer Administrator with access to the admin console to misconfigure the Global Settings for log file location to an arbitrary location. The admin console GeoServer Logs page provides a preview of these contents. As this issue requires GeoServer administrators access, often representing a trusted party, the vulnerability has not received a patch as of time of publication. As a workaround, a system administrator responsible for running GeoServer can use the `GEOSERVER_LOG_FILE` setting to override any configuration option provided by the Global Settings page. The `GEOSERVER_LOG_LOCATION` parameter can be set as system property, environment variables, or servlet context parameters.

(As written by CVE List.)

## Affected

- geoserver geoserver: <= 2.23.4; before 2.23.4
- org.geoserver:gs-main (Maven): up to 2.23.4
- osgeo geoserver: up to 2.23.4

## Every score

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

## References

- <https://github.com/geoserver/geoserver/security/advisories/GHSA-8g7v-vjrc-x4g5> (mitigation, vendor-advisory, web)
- <https://docs.geoserver.org/latest/en/user/configuration/globalsettings.html#log-location> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-41877> (advisory)
- <https://github.com/geoserver/geoserver> (package)

## Sources

- CVE List: [CVE-2023-41877](https://www.cve.org/CVERecord?id=CVE-2023-41877), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-8g7v-vjrc-x4g5](https://github.com/advisories/GHSA-8g7v-vjrc-x4g5), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2023-41877](https://nvd.nist.gov/vuln/detail/CVE-2023-41877), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2023-41877 · Whole record: https://cve.day/CVE-2023-41877.json · Rebuilt by cve.day 2026-11-30T19:17:32.329Z
