Medium

Spring Framework Server-Side Request Forgery via UriComponentsBuilder

  • Disclosed: 09.06.2026
  • Updated: 11.10.2026 12:22

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.springframework:spring-web >= 7.0.0, < 7.0.8, >= 6.2.0, < 6.2.19 7.0.8, 6.2.19

References

CVSS score 4.2/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness (CWE)
CWE-918
Platform
Java / Kotlin (Maven)
Package
org.springframework:spring-web
Disclosed
09.06.2026
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-7m2p-62gw-p8qq - CC BY 4.0

Vulnerability history: org.springframework:spring-web

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (13) in the archive
Total entries
13
First → latest
10.2018 06.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 4
  • Medium 8

Disclosures per year

  1. 2018: 2
  2. 2019: 0
  3. 2020: 0
  4. 2021: 0
  5. 2022: 4
  6. 2023: 0
  7. 2024: 5
  8. 2025: 1
  9. 2026: 1
Severity:
  1. Spring Framework Server-Side Request Forgery via UriComponentsBuilder this entry
    Medium · 4.2 CVE-2026-41854 >= 7.0.0, < 7.0.8, >= 6.2.0, < 6.2.19 7.0.8, 6.2.19
  2. High · 8.1 CVE-2024-22262 < 5.3.34, >= 6.0.0, < 6.0.19, >= 6.1.0, < 6.1.6 5.3.34, 6.0.19, 6.1.6
  3. High · 8.1 CVE-2024-22259 >= 6.1.0, < 6.1.5, >= 6.0.0, < 6.0.18, < 5.3.33 6.1.5, 6.0.18, 5.3.33
  4. High · 8.1 CVE-2024-22243 >= 6.1.0, < 6.1.4, >= 6.0.0, < 6.0.17, >= 5.3.0, < 5.3.32, <= 5.2.25.RELEASE 6.1.4, 6.0.17, 5.3.32
  5. High · 7.8 CVE-2021-22118 >= 5.2.0, < 5.2.15, >= 5.3.0, < 5.3.7 5.2.15, 5.3.7
  6. Critical · 9.8 CVE-2016-1000027 < 6.0.0 6.0.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.