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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-03-20 · Modified: 2024-08-02
- Aliases: GHSA-8g7v-vjrc-x4g5
- Record: https://cvemate.com/vulnerability/CVE-2023-41877 · JSON: https://cvemate.com/vulnerability/CVE-2023-41877/json

## Description

```text
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.
```

## Signals

- CVSS: 7.2 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.841%, percentile 59.166%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- geoserver geoserver: ≤ 2.23.4
- org.geoserver gs-main (Maven): ≤ 2.23.4
- osgeo geoserver: ≤ 2.23.4

## References

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

---

Data as of 2026-12-05T13:41:55.432Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
