CVE-2025-58175: GeoServer has a Server-Side Request Forgery (SSRF) Vulnerability in its XML Entity Resolution

Published Jun 12, 2026
·
Updated

Summary A GeoServer that uses ENTITYRESOLUTIONALLOWLIST may allow attacker to perform unauthenticated Server-Side Request Forgery (SSRF).

Details This vulnerability requires that GeoServer is set up to use a proxy base URL and the ENTITYRESOLUTIONALLOWLIST (default since 2.25.0):

Impact This vulnerability allows an attacker to cause GeoServer to make requests to an unintended location.

Workaround 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 (e.g., https://somesite.org instead of https://somesite.org/ or https://somesite.org/geoserver). If the proxy base URL does not contain a path, adding a slash to the end of the URL will mitigate this vulnerability.

Resources https://osgeo-org.atlassian.net/browse/GEOS-11867 https://github.com/geoserver/geoserver/pull/8622

Credits: - Le Mau Anh Phong at Verichains Cyber Force

Other sources

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 ENTITYRESOLUTIONALLOWLIST 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 ENTITYRESOLUTIONALLOWLIST (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.

MITRE

Affected Software

6 affected componentsFixes available
maven/org.geoserver.web:gs-web-app>=2.27.0<=2.27.2
2.27.3
maven/org.geoserver:gs-main>=2.27.0<=2.27.2
2.27.3
maven/org.geoserver:gs-main<=2.26.3
2.26.4
maven/org.geoserver.web:gs-web-app<=2.26.3
2.26.4
OSGeo GeoServer<2.26.4
OSGeo GeoServer>=2.27.0<2.27.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.geoserver.web:gs-web-app to a version that resolves this vulnerability.

    Fixed in 2.27.3
  2. Upgrade

    Upgrade maven/org.geoserver:gs-main to a version that resolves this vulnerability.

    Fixed in 2.27.3
  3. Upgrade

    Upgrade maven/org.geoserver:gs-main to a version that resolves this vulnerability.

    Fixed in 2.26.4
  4. Upgrade

    Upgrade maven/org.geoserver.web:gs-web-app to a version that resolves this vulnerability.

    Fixed in 2.26.4
  5. Configuration

    If the proxy base URL does not contain a path, add a trailing slash to the proxy base URL so it ends with '/' to mitigate the SSRF vulnerability.

    GeoServer proxy base URL = URL must contain a path or end with a trailing slash (e.g., change https://somesite.org to https://somesite.org/)

Event History

Jun 12, 2026
Advisory Published
via GitHub·06:23 PM
Data Sourced
via GitHub·06:23 PM
DescriptionSeverityWeaknessAffected Software
Jun 18, 2026
CVE Published
via MITRE·02:31 PM
Data Sourced
via MITRE·02:31 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-58175?

The severity of CVE-2025-58175 is rated as medium with a score of 6.5.

2

What is CVE-2025-58175?

CVE-2025-58175 is a vulnerability in GeoServer that allows unauthenticated Server-Side Request Forgery (SSRF) when configured with ENTITY_RESOLUTION_ALLOWLIST.

3

How do I fix CVE-2025-58175?

To fix CVE-2025-58175, ensure that GeoServer is not configured to use a proxy base URL with ENTITY_RESOLUTION_ALLOWLIST.

4

Who is affected by CVE-2025-58175?

Any GeoServer installation using version 2.25.0 or later with the ENTITY_RESOLUTION_ALLOWLIST enabled is affected by CVE-2025-58175.

5

What types of attacks can CVE-2025-58175 facilitate?

CVE-2025-58175 could facilitate unauthenticated Server-Side Request Forgery (SSRF) attacks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203