MEDIUM 6.5

CVE-2025-58175: GeoServer SSRF Vulnerability in Proxy Configuration

GeoServer, an open-source geospatial data sharing platform, contains a Server-Side Request Forgery (SSRF) vulnerability in versions before 2.26.4 and 2.27.3. An attacker without authentication can exploit this flaw to make the server perform unauthorized network requests on their behalf, potentially accessing internal resources or sensitive data. The vulnerability is only active when GeoServer is configured with a proxy base URL lacking a path component or trailing slash, and when entity resolution allowlist is enabled (the default since version 2.25.0).

Source data · NVD / CISA · public domain

CVSS
3.1 · 6.5 MEDIUM · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
Weaknesses (CWE)
CWE-20, CWE-611, CWE-918
Affected products
1 configuration(s)
Published / Modified
2026-06-18 / 2026-06-22

NVD description (verbatim)

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 GeoServer that uses `ENTITY_RESOLUTION_ALLOWLIST` may allow attacker to perform unauthenticated Server-Side Request Forgery (SSRF). This vulnerability requires that GeoServer is set up to use a proxy base URL and the `ENTITY_RESOLUTION_ALLOWLIST` (default since 2.25.0). Versions 2.26.4 and 2.27.3 contain a fix. GeoServer installations are only affected by this vulnerability if they use a proxy base URL that does not contain a URL path or end with a slash. If the proxy base URL does not contain a path, adding a slash to the end of the URL will mitigate this vulnerability.

3 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The vulnerability arises from insufficient input validation in the entity resolution mechanism when a proxy base URL is misconfigured. Specifically, when the proxy base URL does not contain a path or conclude with a slash, the allowlist bypass permits crafted requests to traverse security boundaries. This allows unauthenticated attackers to trigger SSRF conditions, leading to potential exposure of confidential information (high confidentiality impact) and limited availability degradation (low availability impact). The attack requires complex conditions (AC:H), explaining the MEDIUM CVSS score of 6.5, but carries high practical risk due to the default enablement of entity resolution allowlist since v2.25.0.

Business impact

Organizations deploying vulnerable GeoServer instances risk unauthorized access to internal network resources, metadata disclosure, and potential lateral movement within infrastructure. If GeoServer serves as a gateway to proprietary geospatial datasets or connects to backend services, attackers could exfiltrate sensitive location data or disrupt service availability for dependent applications. The vulnerability's non-exploitation status on the KEV catalog suggests active exploitation is not yet widespread, but organizations should treat this as a prompt remediation priority given the unauthenticated attack vector and default-enabled trigger conditions.

Affected systems

GeoServer versions 2.26.x (before 2.26.4) and 2.27.x (before 2.27.3) are affected. Earlier versions prior to 2.25.0 are not affected because the entity resolution allowlist was not enabled by default. The vulnerability requires concurrent presence of three conditions: (1) GeoServer configured to use a proxy base URL, (2) that proxy base URL lacking a path component or trailing slash, and (3) entity resolution allowlist feature enabled (default for 2.25.0+). Installations with properly formatted proxy URLs (containing a path or ending with /) are not vulnerable to this specific SSRF vector.

Exploitability

The attack requires no authentication and is network-accessible, increasing surface risk. However, successful exploitation demands specific server configuration (AC:H), limiting widespread exposure. Attackers must identify GeoServer instances, verify proxy base URL configuration (often discoverable through error messages or endpoint probing), and craft SSRF payloads targeting internal services. The complexity requirement keeps this from CRITICAL severity, but organizations with non-standard or hastily deployed GeoServer configurations are at elevated risk. No public exploit code is known to be circulating, but the technical barrier is moderate.

Remediation

Upgrade to GeoServer 2.26.4 or 2.27.3 or later immediately. As an interim mitigation before patching, append a trailing slash to any proxy base URL that lacks one, or ensure the URL contains a path component (e.g., change 'http://proxy.example.com' to 'http://proxy.example.com/' or 'http://proxy.example.com/geoserver'). This reconfiguration can be applied without code changes and should be validated in a staging environment first.

Patch guidance

Download and deploy GeoServer 2.26.4 (for the 2.26.x line) or 2.27.3 (for the 2.27.x line) or any later stable release from the official GeoServer repository. Review release notes to confirm SSRF fix inclusion and assess compatibility with custom extensions or plugins. Test patched deployments in a non-production environment, paying special attention to proxy routing and entity resolution behavior. Monitor application logs post-upgrade for any configuration drift or unexpected request patterns.

Detection guidance

Examine GeoServer proxy base URL configuration in web.xml, REST API configuration endpoints, or the web console to identify instances lacking a trailing slash or path component. Monitor access logs for suspicious SSRF patterns: requests to internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), localhost, or internal hostnames originating from unauthenticated sources. Look for POST/GET requests to entity resolution or data store configuration endpoints with unusual payloads or URL-encoded content. Enable debug logging for entity resolution to capture allowlist bypass attempts.

Why prioritize this

Despite MEDIUM CVSS, this warrants prompt attention due to unauthenticated attack surface, default-enabled trigger (entity resolution allowlist since 2.25.0), and the sensitive nature of geospatial data. Organizations running GeoServer 2.25.0+ with a proxy base URL should prioritize verification of their configuration and patch deployment within 30 days. The non-KEV status indicates this is not yet being actively exploited at scale, providing a window for proactive remediation before threat actors develop targeted campaigns.

Risk score, explained

The CVSS 6.5 MEDIUM score reflects high confidentiality impact (unauthenticated information disclosure), low availability impact, unauthenticated network access, but requires high attack complexity due to specific proxy configuration prerequisites. The score appropriately captures the vulnerability's severity without overstating it as CRITICAL, since many GeoServer deployments may not meet all three exploitation conditions. However, the default enablement of entity resolution allowlist since v2.25.0 elevates the practical prevalence of vulnerable configurations.

Frequently asked questions

Is my GeoServer installation vulnerable even if I'm not using a proxy?

No. This specific SSRF vulnerability requires GeoServer to be configured with a proxy base URL. If you operate GeoServer directly without an intermediary proxy, or if your proxy base URL is properly formatted (contains a path or ends with a slash), you are not affected by CVE-2025-58175.

Can I apply the trailing slash mitigation without upgrading?

Yes. Appending a trailing slash to your proxy base URL (or ensuring it contains a path) is a valid interim control while you prepare the upgrade to 2.26.4, 2.27.3, or later. However, this is a temporary measure; you should plan to patch within 30 days to receive the upstream fix and avoid potential future bypasses.

What internal systems are at highest risk if my GeoServer is exploited?

Attackers can target any internal service reachable from the GeoServer host: database servers, authentication systems, metadata repositories, internal APIs, or cloud metadata endpoints. They may exfiltrate geospatial datasets, obtain credentials, or perform reconnaissance. Segment your GeoServer network access to only required backend services to reduce blast radius.

Does disabling entity resolution allowlist eliminate the risk?

Disabling entity resolution allowlist would prevent this specific attack vector; however, this feature is enabled by default and may be relied upon by legitimate application workflows. Patching to the fixed version is the recommended path. Consult your deployment documentation before disabling features.

This analysis is based on official CVE data and GeoServer vendor advisories as of June 2026. Specific patch version numbers and affected version ranges should be verified against the official GeoServer security release notes before deployment. No exploit code is provided, and this document does not constitute a complete risk assessment for your specific environment. Organizations should conduct internal security reviews, prioritize patching based on business context, and test all patches in non-production environments prior to production rollout. SEC.co makes no warranty regarding the completeness or accuracy of this intelligence and recommends consultation with official vendor documentation and your organization's security team. Source: NVD (public-domain), retrieved 2026-07-27. Analysis generated by SEC.co (claude-haiku-4-5).