Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-facing Spring Cloud Gateway
-
DeliveryCraft request with forged X-Forwarded-For/Forwarded header
-
ExploitSend to gateway over HTTP(S)
-
ExecutionGateway forwards spoofed header downstream
-
PersistDownstream service trusts attacker-supplied client IP
-
ImpactBypass IP allow-list or pollute audit logs
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
|
| Exploitation Conditions | Exploitation requires the gateway to be reachable by the attacker and configured in one of the scenarios where it forwards X-Forwarded-For and Forwarded headers from untrusted proxies - per the advisory, the flaw is conditional on configuration rather than affecting every default deployment. Practical impact further requires at least one downstream service that trusts these headers for an integrity-sensitive decision (IP allow-listing, audit attribution, geo-fencing, abuse rate-limits); a gateway whose downstreams ignore client-IP headers has no usable impact. No authentication or user interaction is needed (PR:N/UI:N), and the WebMVC and WebFlux server variants are both in scope; the WebClient/library-only usage is not implicated. |
| Impact | Real-world risk is meaningful but conditional. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N) supports a remote, unauthenticated, low-complexity attack with high integrity impact crossing a scope boundary - appropriate for a header-spoofing flaw whose blast radius lands on downstream services rather than the gateway itself. EPSS, KEV status, and POC availability are not provided in the input, so exploitation likelihood cannot be quantified; absence of a CISA KEV entry and no public exploit identified at time of analysis suggest no confirmed mass exploitation. The vendor language 'in certain configuration scenarios' is a key limiter: deployments that already terminate TLS and proxy traffic through a trusted load balancer that overwrites these headers are likely unaffected, while deployments accepting traffic directly from the internet or from a chain of untrusted proxies are exposed. Treat as a high-priority patch for any internet-facing Spring Cloud Gateway, lower priority for gateways behind a header-sanitizing edge. |
| Exploit ScenarioDerived | A remote unauthenticated attacker sends an HTTP request to a vulnerable Spring Cloud Gateway with a forged X-Forwarded-For or Forwarded header claiming to originate from a trusted internal IP. The gateway forwards the spoofed header to a downstream microservice that uses it for IP-based access control, rate limiting, or audit logging, granting the attacker access to admin endpoints or hiding the true source IP in logs. No public exploit identified at time of analysis, but the technique is trivially scriptable with curl. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 15, 2026
Origin validation failure in Spring Cloud Gateway (WebMVC and WebFlux Server variants) allows remote attackers to spoof client identity by injecting X-Forwarded-For and Forwarded headers that the gateway then forwards from untrusted proxies in certain configuration scenarios. The flaw, tracked as CVE-2026-47825 with a CVSS 3.1 base score of 8.6 (Scope:Changed, Integrity:High), affects Spring Cloud Gateway 3.1.x, 4.1.x, 4.2.x, 4.3.x, and 5.0.x. No public exploit identified at time of analysis, but the trust-boundary nature of the issue makes it an attractive target for downstream authentication and access-control bypass.
RemediationAI
Upgrade to the patched release on your current branch: Spring Cloud Gateway 3.1.13, 4.1.13, 4.2.9, 4.3.5, or 5.0.2, per the vendor advisory at https://spring.io/security/cve-2026-47825. If patching cannot be done immediately, place the gateway behind a trusted reverse proxy or load balancer that strips inbound X-Forwarded-For and Forwarded headers before they reach Spring Cloud Gateway, then re-injects them under controlled values - the trade-off is that any application logic relying on client-supplied forwarding headers must be re-validated. Alternatively, configure the gateway and downstream services to derive client IP from the immediate connection rather than from these headers, accepting the loss of accurate client-IP attribution when a legitimate proxy chain exists. Audit downstream services that consume X-Forwarded-For or Forwarded for authentication, IP allow-listing, or audit logging, because those are the components that will absorb the integrity impact even after the gateway is patched.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spring Cloud Gateway is the VMware/Broadcom Spring-based API gateway built on either the reactive WebFlux stack or the servlet WebMVC stack, commonly deployed as the north-south ingress for Spring Boot microservices. CWE-346 (Origin Validation Error) captures the root cause: the gateway accepts and relays the X-Forwarded-For and Forwarded headers it receives from an upstream proxy without verifying whether that proxy is trusted. Both headers are RFC 7239 / de-facto standards that downstream services typically consume to derive the original client IP for logging, rate limiting, IP allow-lists, and audit. Because Spring Cloud Gateway sits at the trust boundary, any failure to strip or validate these headers means a remote attacker's claim about the client IP can flow unchecked into application logic. The CPE cpe:2.3:a:spring:spring_cloud_gateway:*:*:*:*:*:*:*:* covers all maintained branches identified in the advisory.
Know when Spring 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
AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Network-reachable and unauthenticated, but vendor scopes it to 'certain configuration scenarios' and impact requires a trusting downstream, so AC:H; scope changes to downstream services with integrity-only impact.
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
Lifecycle Timeline
2DescriptionCVE.org
Spring Cloud Gateway Server forwards the X-Forwarded-For and Forwarded headers from untrusted proxies in certain configuration scenarios. This affects both the WebMVC and WebFlux Gateway Servers.
Affected versions: Spring Cloud Gateway 3.1.x (fix 3.1.13). Spring Cloud Gateway 4.1.x (fix 4.1.13). Spring Cloud Gateway 4.2.x (fix 4.2.9). Spring Cloud Gateway 4.3.x (fix 4.3.5). Spring Cloud Gateway 5.0.x (fix 5.0.2).
Articles & Coverage 2
Executive ViewAI
Spring Cloud Gateway versions 3.1.x through 5.0.x contain an origin validation flaw enabling attackers to inject X-Forwarded-For and Forwarded headers to spoof client identity, potentially bypassing authentication and authorization controls in downstream systems. Any organization deploying these gateway versions faces immediate risk of unauthorized access and privilege escalation. With no patch currently available, interim protective measures are critical to maintain security posture.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Whitelist only trusted proxy IP addresses and disable header forwarding from all others; (2) Implement strict validation and sanitization of forwarded headers at gateway entry point; (3) Deploy WAF rules to detect and block header injection patterns; (4) Enable comprehensive audit logging of all header manipulations for forensic analysis; (5) Restrict downstream systems from trusting X-Forwarded-For headers without independent verification; (6) Implement network segmentation to limit lateral movement if gateway is compromised.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin
Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
EUVD-2026-37000
GHSA-hf28-w9wf-5x8m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB