CVE-2025-52465
HighCVSS 7.2Exploitation Probability (EPSS)
Low risk48th percentile - higher than 48% of all known CVEs
Summary
In GeoServer, prior to versions 2.26.4 and 2.27.3, a vulnerability exists that allows an authenticated administrator to pass arbitrary file names to the Master Password Dump web page, potentially creating files containing the master password in plaintext.
Risk Assessment
Organizations may be at risk of exposing sensitive data if administrators have access to this feature and are not properly secured.
Recommendation
It is recommended to upgrade GeoServer to versions 2.26.4 or 2.27.3 to mitigate this vulnerability. Additionally, consider disabling the web interface if it is not needed.
Other vulnerabilities in GeoServer
See all- CVE-2025-58360HighActively exploited
GeoServer is an open source server that allows users to share and edit geospatial data. From version 2.26.0 to before 2.26.2 and before 2.25.6, an XML External Entity (XXE) vulnerability was identified. The application accepts XML input through a specific endpoint /geoserver/wms operation GetMap. However, this input is not sufficiently sanitized or restricted, allowing an attacker to define external entities within the XML request. This issue has been patched in GeoServer 2.25.6, GeoServer 2.26.3, and GeoServer 2.27.0.
- CVE-2024-36401CriticalActively exploited
GeoServer versions prior to 2.22.6, 2.23.6, 2.24.4, and 2.25.2 allow unauthenticated remote code execution (RCE) through specially crafted OGC requests. The vulnerability stems from unsafely passing property names to the commons-jxpath library, which executes arbitrary code when evaluating XPath expressions. This affects all GeoServer instances, and exploitation has been confirmed via WFS, WMS, and WPS requests.
- CVE-2023-35042Critical
GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via java.lang.Runtime.getRuntime().exec in wps:LiteralData within a wps:Execute request.
- CVE-2025-58175Medium
GeoServer prior to versions 2.26.4 and 2.27.3 may allow an attacker to perform unauthenticated Server-Side Request Forgery (SSRF) using `ENTITY_RESOLUTION_ALLOWLIST`. This requires GeoServer to be configured to use a proxy base URL without a path or ending with a slash.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

