CVE-2025-52465

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

State
Published
Severity
7.2 High
Published
Jun 18, 2026
Updated
Jun 24, 2026
Reserved
Jun 17, 2025

Read the record on cve.org

Description

GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.26.4 and 2.27.3, 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. Versions 2.26.4 and 2.27.3 contain a fix. 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.

Scores

CVSSScoreVectorSource
3.17.2 HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-73 External Control of File Name or Path

Affected Products

ProductVersions
org.geoserver.web:gs-web-appgeoserver
  • < 2.26.4Affected
  • >= 2.27.0, < 2.27.3Affected
org.geoserver.web:gs-web-sec-coregeoserver
  • < 2.26.4Affected
  • >= 2.27.0, < 2.27.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.