---
id: CVE-2023-41877
title: >-
  GeoServer is an open source software server written in Java that allows users
  to share and edit geospatial data
summary: >-
  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
  consol…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-22
  - CWE-22
vendor: osgeo
product: geoserver
affected:
  - geoserver <= 2.23.4
published: '2024-03-20'
updated: '2026-11-30'
sourceUpdated: '2026-11-30T19:14:34.723'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-41877'
references:
  - url: >-
      https://docs.geoserver.org/latest/en/user/configuration/globalsettings.html#log-location
    label: security-advisories@github.com
  - url: >-
      https://github.com/geoserver/geoserver/security/advisories/GHSA-8g7v-vjrc-x4g5
    label: security-advisories@github.com
  - url: >-
      https://docs.geoserver.org/latest/en/user/configuration/globalsettings.html#log-location
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/geoserver/geoserver/security/advisories/GHSA-8g7v-vjrc-x4g5
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00841
epssPercentile: 0.59039
ingestedAt: '2026-11-30T19:45:10.590Z'
---

## Overview

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.

## Affected

- `geoserver <= 2.23.4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
