High

GeoServer has an arbitrary file write vulnerability in its Master Password Dump Page

  • Disclosed: 12.06.2026
  • Updated: 11.10.2026 12:22

Summary

A vulnerability exists that allows an authenticated administrator with access to GeoServer's security system to pass arbitrary file names to the Master Password Dump web page and create files containing the master password in plaintext. The provided file name must be an absolute path to the target file, the target file can not already exist and all parent directories must already exist.

Details

When dumping the master password, GeoServer will use the provided file name with minimal validation as long as it is a java.io.File path. The only limitation is that the fix for a previous, unrelated vulnerability prevents relative path traversal here but absolute paths can be used to access arbitrary files. GeoServer does not enforce a maximum password length by default which allows an administrator to place malicious code into their password which could then be dumped into a JSP file.

Impact

Remote Code Execution (High severity)

This vulnerability can lead to executing arbitrary code if GeoServer is deployed in an environment where an attacker can dynamically deploy and execute a JSP file. This is possible if the geoserver.war file is simply placed into the webapps directory of a default Tomcat installation.

NTLM Hash Disclosure (Moderate severity)

If GeoServer is deployed in a Windows operating system and the GeoServer administrator does not already have access to the Windows account running the GeoServer process, it may be possible for the administrator to make GeoServer trigger an outbound NTLM request to a remote, attacker-controlled server and gain access to the NTLM hash or user password for use in future attacks.

Denial of Service (Low severity)

This vulnerability allows writing a file to any location where the GeoServer process has write permissions which could still potentially cause some kind of denial of service.

Mitigation

GeoServer installations where the web interface is either disabled or completely removed are not affected since the vulnerability exists in one of the web pages.

Resources

https://osgeo-org.atlassian.net/browse/GEOS-11852 https://github.com/geoserver/geoserver/pull/8584

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.geoserver.web:gs-web-app >= 2.27.0, < 2.27.3, < 2.26.4 2.27.3, 2.26.4
Java / Kotlin (Maven) org.geoserver.web:gs-web-sec-core >= 2.27.0, < 2.27.3, < 2.26.4 2.27.3, 2.26.4

References

CVSS score 7.2/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-73
Platform
Java / Kotlin (Maven)
Package
org.geoserver.web:gs-web-app, org.geoserver.web:gs-web-sec-core
Disclosed
12.06.2026
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-7qmg-grcp-qf25 - CC BY 4.0

Vulnerability history: org.geoserver.web:gs-web-app

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (16) in the archive
Total entries
16
First → latest
10.2023 08.2026
Without a fix
0
Exploited in attacks
2

Severity breakdown

  • Critical 2
  • High 6
  • Medium 8

Disclosures per year

  1. 2023: 1
  2. 2024: 4
  3. 2025: 8
  4. 2026: 3
Severity:
  1. GeoServer has an arbitrary file write vulnerability in its Master Password Dump Page this entry
    High · 7.2 CVE-2025-52465 >= 2.27.0, < 2.27.3, < 2.26.4 2.27.3, 2.26.4
  2. High · 8.2 Exploited in attacks CVE-2025-58360 >= 2.26.0, < 2.26.2, < 2.25.6 2.26.2, 2.25.6
  3. High · 8.2 CVE-2025-30220 >= 2.27.0, < 2.27.1, >= 2.26.0, < 2.26.3, < 2.25.7 2.27.1, 2.26.3, 2.25.7
  4. High · 7.5 CVE-2025-30145 >= 2.26.0, < 2.26.3, < 2.25.7 2.26.3, 2.25.7
  5. Critical · 9.8 Exploited in attacks CVE-2024-36401 >= 2.24.0, < 2.24.4, >= 2.25.0, < 2.25.2, >= 2.23.0, < 2.23.6, < 2.22.6 2.24.4, 2.25.2, 2.23.6, 2.22.6
  6. High · 7.5 CVE-2024-24749 < 2.23.5, >= 2.24.0, < 2.24.3 2.23.5, 2.24.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.