CVE-2026-47825: CWE-346: Origin Validation Error in Spring Spring Cloud Gateway
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).
AI Analysis
Technical Summary
Spring Cloud Gateway versions 3.1.x, 4.1.x, 4.2.x, 4.3.x, and 5.0.x improperly forward the X-Forwarded-For and Forwarded headers from untrusted proxies in some configuration scenarios. This behavior can lead to an origin validation error, potentially allowing an attacker to spoof client IP addresses or manipulate request headers. The vulnerability affects both WebMVC and WebFlux Gateway Servers. Fixes have been released in versions 3.1.13, 4.1.13, 4.2.9, 4.3.5, and 5.0.2.
Potential Impact
The vulnerability allows an attacker to influence the X-Forwarded-For and Forwarded headers, which may lead to incorrect client IP address identification or bypass of security controls relying on these headers. Although confidentiality is not impacted, the integrity of request headers is compromised, which can affect downstream processing and security decisions. Availability is not affected.
Mitigation Recommendations
Fixed versions are available for all affected release lines: 3.1.13, 4.1.13, 4.2.9, 4.3.5, and 5.0.2. Users should upgrade to these versions to remediate the vulnerability. No vendor advisory content was provided to indicate alternative mitigations or temporary fixes. Patch status is not explicitly confirmed in the vendor advisory content, but the presence of fixed versions indicates official fixes are available.
CVE-2026-47825: CWE-346: Origin Validation Error in Spring Spring Cloud Gateway
Description
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).
CVSS v3.1
Score 8.6high
Affected software
pkg:maven/org.springframework.cloud/spring-cloud-gatewayRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Spring Cloud Gateway versions 3.1.x, 4.1.x, 4.2.x, 4.3.x, and 5.0.x improperly forward the X-Forwarded-For and Forwarded headers from untrusted proxies in some configuration scenarios. This behavior can lead to an origin validation error, potentially allowing an attacker to spoof client IP addresses or manipulate request headers. The vulnerability affects both WebMVC and WebFlux Gateway Servers. Fixes have been released in versions 3.1.13, 4.1.13, 4.2.9, 4.3.5, and 5.0.2.
Potential Impact
The vulnerability allows an attacker to influence the X-Forwarded-For and Forwarded headers, which may lead to incorrect client IP address identification or bypass of security controls relying on these headers. Although confidentiality is not impacted, the integrity of request headers is compromised, which can affect downstream processing and security decisions. Availability is not affected.
Mitigation Recommendations
Fixed versions are available for all affected release lines: 3.1.13, 4.1.13, 4.2.9, 4.3.5, and 5.0.2. Users should upgrade to these versions to remediate the vulnerability. No vendor advisory content was provided to indicate alternative mitigations or temporary fixes. Patch status is not explicitly confirmed in the vendor advisory content, but the presence of fixed versions indicates official fixes are available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-05-20T10:00:48.930Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3061600b89be688893d821
Added to database: 06/15/2026, 20:32:32 UTC
Last enriched: 06/23/2026, 15:31:54 UTC
Last updated: 07/19/2026, 19:43:27 UTC
Views: 108
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.