Skip to content
OpenAdvisories
Medium · 4.2 CVE-2026-41854 EUVD-2026-35343GHSA-7m2p-62gw-p8qq

Spring Framework Server-Side Request Forgery via UriComponentsBuilder

Published Jun 9, 2026 · Updated Jun 27, 2026 · Assigned by vmware

Description

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 products

VendorProductAffectedFixed
Spring Spring Framework 7.0.0 – < 7.0.7.1, 6.2.0 – < 6.2.18.1 7.0.7.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 libspring-java No fix yet —
Ubuntu 26.04 LTS libspring-java No fix yet —
Ubuntu 25.10 libspring-java No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS libspring-java No fix yet —
Ubuntu Pro 22.04 LTS libspring-java No fix yet —
Ubuntu Pro 20.04 LTS libspring-java No fix yet —
Ubuntu Pro 18.04 LTS libspring-java No fix yet —
Ubuntu Pro 16.04 LTS libspring-java No fix yet —
Ubuntu Pro 14.04 LTS libspring-java No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework:spring-web >= 7.0.0, < 7.0.8 7.0.8 GHSA-7m2p-62gw-p8qq
Maven org.springframework:spring-web >= 6.2.0, < 6.2.19 6.2.19 GHSA-7m2p-62gw-p8qq

Advisories 1

References