CVE-2025-52465 is a high-severity security vulnerability in org.geoserver.web:gs-web-app (maven), affecting versions >= 2.27.0, <= 2.27.2. It is fixed in 2.27.3, 2.26.4.
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
CVE-2025-52465 has a CVSS score of 7.2 (High). The vector is network-reachable, high privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.
A fixed version is available (2.27.3, 2.26.4). Upgrading removes the vulnerable code path.
maven
org.geoserver.web:gs-web-app (>= 2.27.0, <= 2.27.2)org.geoserver.web:gs-web-sec-core (>= 2.27.0, <= 2.27.2)org.geoserver.web:gs-web-sec-core (<= 2.26.3)org.geoserver.web:gs-web-app (<= 2.26.3)org.geoserver.web:gs-web-app → 2.27.3 (maven)org.geoserver.web:gs-web-sec-core → 2.27.3 (maven)org.geoserver.web:gs-web-sec-core → 2.26.4 (maven)org.geoserver.web:gs-web-app → 2.26.4 (maven)Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.
Kodem's runtime-powered SCA identifies whether CVE-2025-52465 is reachable in your applications. Explore open-source security for your team.
See if CVE-2025-52465 is reachable in your applications. Get a demo
Upgrade the following packages to resolve this vulnerability:
org.geoserver.web:gs-web-app to 2.27.3 or laterorg.geoserver.web:gs-web-sec-core to 2.27.3 or laterorg.geoserver.web:gs-web-sec-core to 2.26.4 or laterorg.geoserver.web:gs-web-app to 2.26.4 or laterKodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
CVE-2025-52465 is a high-severity security vulnerability in org.geoserver.web:gs-web-app (maven), affecting versions >= 2.27.0, <= 2.27.2. It is fixed in 2.27.3, 2.26.4.
CVE-2025-52465 has a CVSS score of 7.2 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
org.geoserver.web:gs-web-app (maven) (versions >= 2.27.0, <= 2.27.2)org.geoserver.web:gs-web-sec-core (maven) (versions >= 2.27.0, <= 2.27.2)Yes. CVE-2025-52465 is fixed in 2.27.3, 2.26.4. Upgrade to this version or later.
Whether CVE-2025-52465 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
org.geoserver.web:gs-web-app to 2.27.3 or laterorg.geoserver.web:gs-web-sec-core to 2.27.3 or laterorg.geoserver.web:gs-web-sec-core to 2.26.4 or laterorg.geoserver.web:gs-web-app to 2.26.4 or later