---
id: CVE-2026-41854
title: >-
  Due to incorrect host parsing, applications that rely on UriComponentsBuilder
  to parse and validate an externally provided URL string may be exposed to a
  server-side request forgery (SSRF) attack.


  Affected versions:

  Spring Framework 7.0…
summary: >-
  Due to incorrect host parsing, applications that rely on UriComponentsBuilder
  to parse and validate an externally provided URL string may be exposed to a
  server-side request forgery (SSRF) attack.


  Affected versions:

  Spring Framework 7.0…
severity: medium
cvss: 4.2
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N'
cwe:
  - CWE-918
vendor: vmware
product: spring_framework
affected:
  - 'spring_framework >= 6.2.0, < 6.2.18.1'
  - 'spring_framework >= 7.0.0, < 7.0.7.1'
patched:
  - spring_framework 7.0.7.1
published: '2026-06-09'
updated: '2026-07-17'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-41854'
references:
  - url: 'https://spring.io/security/cve-2026-41854'
    label: security@vmware.com
tags:
  - nvd
epss: 0.00209
epssPercentile: 0.09909
ingestedAt: '2026-07-17T21:16:23.946Z'
---

## Overview

Due to incorrect host parsing, applications that rely on UriComponentsBuilder to parse and validate an externally provided URL string may be exposed to a server-side request forgery (SSRF) attack.

Affected versions:
Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18.

## Affected

- `spring_framework >= 6.2.0, < 6.2.18.1`
- `spring_framework >= 7.0.0, < 7.0.7.1`

## Remediation

Upgrade past the affected range:

- `spring_framework 7.0.7.1`
