Spring Cloud GatewayFramework / library · VMware

CVE-2026-47825

HIGH · 8.6 CVSS v3.1 Published 2026-06-15
Fix available
A fix is available. Upgrade to 4.1.13 / 4.2.9 or later.
See remediation →
95/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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).

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Spring Cloud Gateway Server improperly forwards X-Forwarded-For and Forwarded headers from untrusted proxies in certain configurations, allowing attackers to spoof client IP addresses or other identifying information. This affects both WebMVC and WebFlux Gateway Server variants, potentially enabling bypass of IP-based access controls, rate limiting, or logging mechanisms.

MitigationUpgrade to Spring Cloud Gateway 3.1.13+, 4.1.13+, 4.2.9+, 4.3.5+, or 5.0.2+ and configure the gateway to only trust legitimate proxy headers by properly setting trusted proxy settings or filtering untrusted Forwarded/X-Forwarded-For headers.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Spring Cloud GatewayFramework / library
Affected:<= 3.1.10>= 4.0.0, < 4.1.13>= 4.2.0, < 4.2.9>= 4.3.0, < 4.3.4.1>= 5.0.0, < 5.0.1.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Spring Cloud Gateway version
    Check your project's dependency management (pom.xml, build.gradle, or JAR manifest) for spring-cloud-starter-gateway version. Run: mvn dependency:tree | grep gateway or gradle dependencies | grep gateway
    Affected if Version is 3.1.x before 3.1.13, 4.1.x before 4.1.13, 4.2.x before 4.2.9, 4.3.x before 4.3.5, or 5.0.x before 5.0.2
  2. Determine if proxy headers are enabled
    Check application.yml or application.properties for settings like spring.cloud.gateway.forwarded.enabled, server.forward-headers-strategy, or any custom filter/configuration that processes X-Forwarded-For or Forwarded headers. Also review any RoutePredicateFactory or GatewayFilter that inspects these headers.
    Affected if Forwarded or X-Forwarded-For header processing is enabled without proper trusted proxy configuration
  3. Verify trusted proxy configuration
    Look for properties such as spring.cloud.gateway.forwarded.trusted-proxies, server.forward-headers-strategy, or custom filters that validate proxy origins. Check if the gateway accepts headers from any source or only from explicitly trusted proxies.
    Affected if No trusted proxy whitelist is configured, or the configuration accepts headers from untrusted/proxied sources
  4. Confirm exposure to untrusted networks
    Assess whether the gateway is directly exposed to the internet or sits behind only a single untrusted proxy. Review network architecture and load balancer configuration to determine if client requests can reach the gateway without a trusted intermediary.
    Affected if The gateway is accessible from untrusted networks or receives proxy headers directly from clients without going through a trusted reverse proxy

You are affected if you run a vulnerable Spring Cloud Gateway version AND the gateway processes X-Forwarded-For or Forwarded headers from untrusted sources, allowing attackers to spoof client IP addresses and bypass IP-based controls.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.1.13 / 4.2.9 / 4.3.4.1 or later
Fixed in 4.1.134.2.94.3.4.1
Interim mitigation

Upgrade to Spring Cloud Gateway 3.1.13+, 4.1.13+, 4.2.9+, 4.3.5+, or 5.0.2+ and configure the gateway to only trust legitimate proxy headers by properly setting trusted proxy settings or filtering untrusted Forwarded/X-Forwarded-For headers.

Recommended fix High confidence

Upgrade to the fixed version for your current branch: 3.1.13, 4.1.13, 4.2.9, 4.3.5, or 5.0.2 (or later)

  1. Identify the current Spring Cloud Gateway version in use (check pom.xml, build.gradle, or application dependencies)
  2. Determine which major version branch is currently deployed (3.1.x, 4.1.x, 4.2.x, 4.3.x, or 5.0.x)
  3. For Spring Cloud Gateway 3.1.x: upgrade to version 3.1.13 or later
  4. For Spring Cloud Gateway 4.1.x: upgrade to version 4.1.13 or later
  5. For Spring Cloud Gateway 4.2.x: upgrade to version 4.2.9 or later
  6. For Spring Cloud Gateway 4.3.x: upgrade to version 4.3.5 or later
  7. For Spring Cloud Gateway 5.0.x: upgrade to version 5.0.2 or later
  8. Update dependency management file (pom.xml or build.gradle) with the new version
Caveat Review release notes for your version branch; minor version upgrades within the same major.minor line typically have low breaking change risk, but always test in a staging environment first

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Spring Cloud Gateway Scoped from the published advisory
  • Consultation6.0 h
  • Implementation12.0 h
  • Testing6.0 h
  • Review / QA3.0 h
27.0 hours of engineering $4,800
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,680.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-47825 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-47825 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data