# CVE-2024-34696: GeoServer's Server Status shows sensitive environmental variables and Java properties

- Severity: Medium 4.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N`
- 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.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2024-07-01T14:36:05.084Z
- Modified: 2026-11-30T19:14:34.723Z
- Also known as: GHSA-j59v-vgcr-hxvf
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

GeoServer is an open source server that allows users to share and edit geospatial data. Starting in version 2.10.0 and prior to versions 2.24.4 and 2.25.1, GeoServer's Server Status page and REST API lists all environment variables and Java properties to any GeoServer user with administrative rights as part of those modules' status message. These variables/properties can also contain sensitive information, such as database passwords or API keys/tokens. Additionally, many community-developed GeoServer container images `export` other credentials from their start-up scripts as environment variables to the GeoServer (`java`) process. The precise scope of the issue depends on which container image is used and how it is configured.

The `about status` API endpoint which powers the Server Status page is only available to administrators.Depending on the operating environment, administrators might have legitimate access to credentials in other ways, but this issue defeats more sophisticated controls (like break-glass access to secrets or role accounts).By default, GeoServer only allows same-origin authenticated API access. This limits the scope for a third-party attacker to use an administrator’s credentials to gain access to credentials. The researchers who found the vulnerability were unable to determine any other conditions under which the GeoServer REST API may be available more broadly.

Users should update container images to use GeoServer 2.24.4 or 2.25.1 to get the bug fix. As a workaround, leave environment variables and Java system properties hidden by default. Those who provide the option to re-enable it should communicate the impact and risks so that users can make an informed choice.

(As written by CVE List.)

## Affected

- geoserver geoserver: >= 2.10.0, < 2.24.4; >= 2.25.0, < 2.25.1
- org.geoserver.web:gs-web-app (Maven): from 2.10.0 before 2.24.4; from 2.25.0 before 2.25.1
- org.geoserver:gs-main (Maven): from 2.10.0 before 2.24.4; from 2.25.0 before 2.25.1
- osgeo geoserver: from 2.10.0 before 2.24.4; from 2.25.0 before 2.25.1

## Every score

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

## References

- <https://github.com/geoserver/geoserver/security/advisories/GHSA-j59v-vgcr-hxvf> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34696> (advisory)
- <https://github.com/geoserver/geoserver> (package)

## Sources

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

---

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