{"id":"GHSA-6j2q-c73v-97c5","summary":"Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies","details":"Spring Cloud Gateway Server forwards the X-Forwarded-For and Forwarded headers from untrusted proxies.","aliases":["CVE-2025-41235"],"modified":"2026-09-10T03:50:24.473973049Z","published":"2025-05-30T06:30:25Z","database_specific":{"cwe_ids":["CWE-444"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2025-05-30T15:25:10Z","nvd_published_at":"2025-05-30T06:15:26Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-41235"},{"type":"PACKAGE","url":"https://github.com/spring-cloud/spring-cloud-gateway"},{"type":"WEB","url":"https://spring.io/security/cve-2025-41235"}],"affected":[{"package":{"name":"org.springframework.cloud:spring-cloud-gateway-server","ecosystem":"Maven","purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"fixed":"4.2.3"}]}],"versions":["4.2.0","4.2.1","4.2.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-6j2q-c73v-97c5/GHSA-6j2q-c73v-97c5.json"}},{"package":{"name":"org.springframework.cloud:spring-cloud-gateway-server","ecosystem":"Maven","purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"4.1.8"}]}],"versions":["4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-6j2q-c73v-97c5/GHSA-6j2q-c73v-97c5.json"}},{"package":{"name":"org.springframework.cloud:spring-cloud-gateway-server","ecosystem":"Maven","purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"last_affected":"4.0.9"}]}],"versions":["4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-6j2q-c73v-97c5/GHSA-6j2q-c73v-97c5.json"}},{"package":{"name":"org.springframework.cloud:spring-cloud-gateway-server","ecosystem":"Maven","purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.10"}]}],"versions":["2.2.10.RELEASE","2.2.6.RELEASE","2.2.7.RELEASE","2.2.8.RELEASE","2.2.9.RELEASE","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-6j2q-c73v-97c5/GHSA-6j2q-c73v-97c5.json"}},{"package":{"name":"org.springframework.cloud:spring-cloud-gateway-server-mvc","ecosystem":"Maven","purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway-server-mvc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.7"},{"fixed":"4.2.3"}]}],"versions":["4.1.7","4.1.8","4.1.9","4.2.0","4.2.1","4.2.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-6j2q-c73v-97c5/GHSA-6j2q-c73v-97c5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"}]}