Skip to main content

GeoServer CVE-2025-58175

| EUVDEUVD-2025-210278 HIGH
Improper Input Validation (CWE-20)
2026-06-12 https://github.com/geoserver/geoserver GHSA-x4r9-gmw3-hxww
8.2
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify GeoServer with vulnerable proxy base URL
  2. Delivery
    Craft XML request with external entity URI prefixed by proxy base
  3. Exploit
    Submit unauthenticated request to OGC endpoint
  4. Execution
    AllowListEntityResolver passes prefix check
  5. Persist
    GeoServer fetches attacker-controlled or internal URL
  6. Impact
    Exfiltrate response or pivot to internal services

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

The target must be running a vulnerable GeoServer build (≤2.26.3 or 2.27.0-2.27.2) with the ENTITY_RESOLUTION_ALLOWLIST mechanism active (default behavior since 2.25.0) AND must be configured with a proxy base URL that has no URL path component and no trailing slash, for example https://somesite.org rather than https://somesite.org/ or https://somesite.org/geoserver; instances using a path-qualified or slash-terminated proxy base URL are not exploitable. The attack itself requires only network reachability to a GeoServer endpoint that processes XML input and accepts no user interaction (PR:N, UI:N), but the impact is bounded to SSRF - there is no integrity impact and only limited availability impact per the CVSS vector, so realistic damage depends on what internal services the GeoServer host can reach.

Impact

Signals diverge sharply: the CVSS 3.1 score of 8.2 (AV:N/AC:L/PR:N/UI:N/C:H/I:N/A:L) is driven by unauthenticated network access and high confidentiality impact through SSRF-mediated data disclosure, yet EPSS reports only 0.06% (19th percentile) and CISA SSVC marks exploitation as 'none' and 'not automatable' with only 'partial' technical impact, and the CVE is not in CISA KEV. The vulnerability is also gated by a specific deployment quirk - a proxy base URL with no path and no trailing slash - which limits the population of exploitable instances and explains the low real-world exploitation probability. Treat this as a meaningful patch priority for internet-facing GeoServer hosting sensitive internal networks (SSRF into cloud metadata or internal services is realistic), but not an emergency on the level of an actively exploited RCE; the gap between CVSS and SSVC/EPSS reflects conditional rather than universal exploitability.

Exploit ScenarioDerived

An unauthenticated attacker submits a crafted WFS/WMS request containing an XML payload whose external entity points to a URL beginning with the victim's proxy base URL string but extended with an attacker-controlled suffix (for example https://victim.example.com.attacker.tld/payload.xsd against a proxy base of https://victim.example.com). GeoServer's AllowListEntityResolver accepts the URI because it starts with the configured prefix and dereferences it, causing the server to make an outbound HTTP request to the attacker host or to internal-only resources reachable from the GeoServer host such as cloud metadata endpoints. No public exploit identified at time of analysis, but the workflow is straightforward given the documented allowlist logic and the public patch diff.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 22, 2026

Server-Side Request Forgery in GeoServer 2.26.x prior to 2.26.4 and 2.27.x prior to 2.27.3 allows unauthenticated remote attackers to coerce the server into issuing HTTP requests to attacker-chosen destinations by abusing weak prefix matching of the proxy base URL inside the XML entity resolver. No public exploit identified at time of analysis, and EPSS exploitation probability sits at 0.06% (19th percentile), but the trivial network-only attack vector and default-enabled ENTITY_RESOLUTION_ALLOWLIST since 2.25.0 raise the realistic exposure for internet-facing instances.

Earlier versions of this analysis (2)
v2 Jun 22, 2026 - 17:28 cvss changed CVSS 8.2

Server-Side Request Forgery in GeoServer 2.26.x and 2.27.x allows unauthenticated remote attackers to coerce the server into issuing HTTP requests to attacker-chosen destinations through the XML entity resolver. The flaw is triggered when GeoServer is deployed with a proxy base URL that has no path component or trailing slash, combined with the default ENTITY_RESOLUTION_ALLOWLIST behavior introduced in 2.25.0. No public exploit identified at time of analysis, and EPSS (0.06%) and SSVC (Exploitation: none) both indicate low immediate exploitation pressure despite the 8.2 CVSS rating.

v1 Jun 12, 2026 - 18:51 CVSS 6.5

Server-Side Request Forgery in GeoServer's XML entity resolution allows unauthenticated remote attackers to cause the server to issue HTTP requests to unintended internal or external endpoints. Affected are GeoServer deployments running versions up to 2.26.3 and 2.27.0-2.27.2 that have both a proxy base URL configured without a trailing slash and ENTITY_RESOLUTION_ALLOWLIST active - the default since 2.25.0. No public exploit or CISA KEV listing exists at time of analysis, but the CVSS vector scores high confidentiality impact, making this a meaningful risk for deployments where GeoServer has network adjacency to internal services or cloud metadata endpoints.

RemediationAI

Vendor-released patch: upgrade to GeoServer 2.26.4 or 2.27.3 (or any later release), which apply the AllowListEntityResolver fix from pull request https://github.com/geoserver/geoserver/pull/8622 and add the new ENTITY_RESOLUTION_UNRESTRICTED_INTERNAL safety toggle. If immediate upgrade is not possible, the vendor-documented workaround is to append a trailing slash to the configured proxy base URL (e.g. change https://somesite.org to https://somesite.org/ or https://somesite.org/geoserver), which forces the allowlist prefix check to match only the intended origin; this change is low-risk but should be validated against any downstream clients or reverse-proxy rewrites that assume the prior URL form. As an additional compensating control, restrict GeoServer's egress at the network layer to deny outbound traffic to cloud metadata IPs (e.g. 169.254.169.254), RFC1918 ranges and other internal services, accepting that this may also break legitimate outbound XSD or schema fetches and should be tested against your service catalogue. Refer to https://github.com/geoserver/geoserver/security/advisories/GHSA-x4r9-gmw3-hxww for the canonical advisory.

Affected VersionsENISA

org.geoserver:gs-main 2.27.0, < 2.27.3
org.geoserver:gs-main < 2.26.4
org.geoserver.web:gs-web-app 2.27.0, < 2.27.3
org.geoserver.web:gs-web-app < 2.26.4

Affected Packages

maven org.geoserver.web:gs-web-app fix: 2.26.4, 2.27.3
maven org.geoserver:gs-main fix: 2.26.4, 2.27.3
euvd org_geoserver_gs_main fix: 2.26.4, 2.27.3
euvd org_geoserver_web_gs_web_app fix: 2.26.4, 2.27.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GeoServer is an open-source Java web application (built on GeoTools and packaged as the gs-main and gs-web-app Maven artifacts) that publishes geospatial data through OGC services such as WMS, WFS and WCS. XML payloads processed by these services can declare external entities, and GeoServer mitigates XXE through the AllowListEntityResolver, which permits only URIs starting with the configured proxy base URL, internal data-directory schemas, or specific built-in locations. The CWE-20 (improper input validation) root cause is in that allowlist check: when the configured proxy base URL has no path component and no trailing slash (e.g. https://somesite.org), a case-insensitive startsWith comparison treats any URL that begins with that hostname prefix - including unrelated hosts such as https://somesite.org.attacker.tld - as trusted, letting an attacker steer XML entity resolution to an arbitrary host. The pull/8622 patch replaces the raw startsWith check with a urlStartsWith helper and adds URI normalisation, escape-sequence filtering and an explicit ENTITY_RESOLUTION_UNRESTRICTED_INTERNAL property.

Know when Atlassian gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
vuln.today AI 5.9 MEDIUM

Network-reachable unauthenticated SSRF, but exploitation requires a specific path-less proxy base URL configuration so AC:H; impact is information disclosure via SSRF (C:H, I:N, A:N).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
Low

Lifecycle Timeline

4
Analysis Updated
Jun 22, 2026 - 17:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 22, 2026 - 17:28 vuln.today
v2 - CVSS changed
Severity Changed
Jun 22, 2026 - 17:22 NVD
MEDIUM HIGH
CVSS changed
Jun 22, 2026 - 17:22 NVD
6.5 (MEDIUM) 8.2 (HIGH)

DescriptionNVD

Summary

A GeoServer that uses ENTITY_RESOLUTION_ALLOWLIST 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 ENTITY_RESOLUTION_ALLOWLIST (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

Executive ViewAI

Why It Matters

GeoServer, a critical mapping and geospatial data service, contains an unauthenticated server-side request forgery vulnerability affecting versions 2.26 and 2.27 that allows remote attackers to redirect the server's outbound traffic toward internal or external targets without any authentication barrier. Organizations relying on GeoServer for location-based services risk unauthorized access to backend infrastructure, data exposure, and potential compromise of interconnected systems. While no public exploit currently exists, the attack requires only network access and no special configuration, making it an attractive target for reconnaissance and lateral movement in internet-facing deployments.

Business Impact: High
Compensating Controls

Apply vendor patch (GeoServer 2.26.4 or 2.27.3 or later).

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2023-22515 CRITICAL POC
9.8 Oct 04

Atlassian has been made aware of an issue reported by a handful of customers where external attackers may have exploited

CVE-2015-5603 MEDIUM POC
6.5 Sep 21

The HipChat for JIRA plugin before 6.30.0 for Atlassian JIRA allows remote authenticated users to execute arbitrary Java

CVE-2015-8399 MEDIUM POC
4.3 Apr 11

Atlassian Confluence before 5.8.17 allows remote authenticated users to read configuration files via the decoratorName p

CVE-2012-2926 CRITICAL POC
9.1 May 22

Atlassian JIRA before 5.0.1; Confluence before 3.5.16, 4.0 before 4.0.7, and 4.1 before 4.1.10; FishEye and Crucible bef

CVE-2014-2314 MEDIUM POC
4.3 Mar 09

Directory traversal vulnerability in the Issue Collector plugin in Atlassian JIRA before 6.0.4 allows remote attackers t

CVE-2023-22518 CRITICAL POC
9.8 Oct 31

All versions of Confluence Data Center and Server are affected by this unexploited vulnerability. Rated critical severit

CVE-2022-43781 CRITICAL POC
9.8 Nov 17

There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. Rated critic

CVE-2022-26134 CRITICAL POC
9.8 Jun 03

In affected versions of Confluence Server and Data Center, an OGNL injection vulnerability exists that would allow an un

CVE-2019-11580 CRITICAL POC
9.8 Jun 03

Atlassian Crowd and Crowd Data Center had the pdkinstall development plugin incorrectly enabled in release builds. Rated

CVE-2017-9506 MEDIUM POC
6.1 Aug 23

The IconUriServlet of the Atlassian OAuth Plugin from version 1.3.0 before version 1.9.12 and from version 2.0.0 before

CVE-2024-21683 HIGH POC
8.8 May 21

This High severity RCE (Remote Code Execution) vulnerability was introduced in version 5.2 of Confluence Data Center and

CVE-2022-36804 HIGH POC
8.8 Aug 25

Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 bef

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy