Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies
CVE-2025-41235GHSA-6j2q-c73v-97c5
What to do
Partial vendor fix. Follow the primary source's mitigation guidance and check back for a fix.
This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.
Affected packages
Maven org.springframework.cloud:spring-cloud-gateway-server
- Affected
- >= 4.2.0, < 4.2.3>= 4.1.0, < 4.1.8>= 4.0.0, <= 4.0.9< 3.1.10
- Fixed in
- 4.1.8, 3.1.10, 4.2.3
Maven org.springframework.cloud:spring-cloud-gateway-server-mvc
- Affected
- >= 4.1.7, < 4.2.3
- Fixed in
- 4.2.3
Sources
- GitHub Advisory Database and maintainer security advisories on GitHub
GitHub-reviewed advisory GHSA-6j2q-c73v-97c5 lists affected ranges: Maven org.springframework.cloud:spring-cloud-gateway-server >=4.2.0 =4.1.0 =4.0.0 =0 =4.1.7 <4.2.3
VerifiedObserved Structured GitHub Advisory Database record (type=reviewed) from the GitHub REST API.
Severity and exploitation
- Exploitation
- No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
- CVSS
- 8.6 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
- EPSS
- CVE-2025-41235: 0.36% estimated exploitation activity in the next 30 days; percentile 29.56 (FIRST EPSS, 2026-11-03). This is a model estimate, not proof of exploitation or customer exposure.
Source description
As published by the source; long descriptions are shortened.
Spring Cloud Gateway Server forwards the X-Forwarded-For and Forwarded headers from untrusted proxies.
Dates and revisions
- Published by the source
- Last modified by the source
- Source last checked
- Revision 1 · created ·
Published from ghsa record GHSA-6j2q-c73v-97c5
Agent brief
Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.
# Patch Next advisory brief: CVE-2025-41235 Advisory: Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies IDs: CVE-2025-41235, GHSA-6j2q-c73v-97c5 Record: https://patchnext.com/advisories/cve-2025-41235 (revision 1, source checked 26 Oct 2026, 16:39 UTC) Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected. Severity: High (CVSS 8.6) Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV. Vendor response: Partial vendor fix; fixed versions by package: org.springframework.cloud:spring-cloud-gateway-server 4.2.3, 4.1.8, 3.1.10; org.springframework.cloud:spring-cloud-gateway-server-mvc 4.2.3. A vendor fix does not mean a deployment is fixed. ## Affected components - Maven org.springframework.cloud:spring-cloud-gateway-server: affected >= 4.2.0, < 4.2.3; >= 4.1.0, < 4.1.8; >= 4.0.0, <= 4.0.9; < 3.1.10; fixed in 4.1.8, 3.1.10, 4.2.3 - Maven org.springframework.cloud:spring-cloud-gateway-server-mvc: affected >= 4.1.7, < 4.2.3; fixed in 4.2.3 ## Suggested inspection (read-only) - Maven org.springframework.cloud:spring-cloud-gateway-server: check the installed version with your package manager. - Maven org.springframework.cloud:spring-cloud-gateway-server-mvc: check the installed version with your package manager. ## Supported action No complete vendor fix is recorded. Follow the primary source's mitigation guidance and check this record again before closing anything. ## Required regression checks - Run the test suite and a production build. - Exercise the features that depend on org.springframework.cloud:spring-cloud-gateway-server, org.springframework.cloud:spring-cloud-gateway-server-mvc. - Repeat the inspection and confirm that only fixed versions remain installed. ## Rollback considerations - Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward. ## Unresolved questions - Which deployments run an affected version? - Exploitation status can change. Check again before lowering the priority. - Mark the work resolved only after the fixed version is verified in production. ## Sources - Verified: https://github.com/advisories/GHSA-6j2q-c73v-97c5 (GitHub-reviewed advisory GHSA-6j2q-c73v-97c5 lists affected ranges: Maven org.springframework.cloud:spring-cloud-gateway-server >=4.2.0 =4.1.0 =4.0.0 =0 =4.1.7 <4.2.3) Commands are suggestions: review each one before running it.
Loading voting…