Security Vulnerability Report
中文
CVE-2026-22750 CVSS 7.5 HIGH

CVE-2026-22750

Published: 2026-04-10 08:16:25
Last Modified: 2026-04-13 15:02:06

Description

When configuring SSL bundles in Spring Cloud Gateway by using the configuration property spring.ssl.bundle, the configuration was silently ignored and the default SSL configuration was used instead. Note: The 4.2.x branch is no longer under open source support. If you are using Spring Cloud Gateway 4.2.0 and are not an enterprise customer, you can upgrade to any Spring Cloud Gateway 4.2.x release newer than 4.2.0  available on Maven Centeral https://repo1.maven.org/maven2/org/springframework/cloud/spring-cloud-gateway/ . Ideally if you are not an enterprise customer, you should be upgrading to 5.0.2 or 5.1.1 which are the current supported open source releases.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Configurations (Affected Products)

No configuration data available.

Spring Cloud Gateway 4.2.0
Spring Cloud Gateway 4.2.x (older versions)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * PoC Concept for CVE-2026-22750 * This test verifies if the custom SSL bundle configuration is applied. * If the connection succeeds when it shouldn't (e.g., connecting to a public site * while expecting a specific self-signed cert), the vulnerability is confirmed. */ import org.springframework.web.client.RestTemplate; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; public class SslBypassPoC { public static void main(String[] args) { RestTemplate restTemplate = new RestTemplate(); String url = "https://backend-service.example.com/api/data"; try { // If spring.ssl.bundle was ignored, this might use the default trust store // and potentially accept a certificate that should have been rejected by the config. ResponseEntity<String> response = restTemplate.exchange(url, HttpMethod.GET, new HttpEntity<>(new HttpHeaders()), String.class); System.out.println("[+] Request Succeeded: SSL Bundle likely ignored (Default config used)."); System.out.println("[+] Response: " + response.getBody()); } catch (Exception e) { System.out.println("[-] Request Failed: " + e.getMessage()); } } }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22750", "sourceIdentifier": "[email protected]", "published": "2026-04-10T08:16:24.787", "lastModified": "2026-04-13T15:02:06.187", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "When configuring SSL bundles in Spring Cloud Gateway by using the configuration property spring.ssl.bundle, the configuration was silently ignored and the default SSL configuration was used instead.\nNote: The 4.2.x branch is no longer under open source support. If you are using Spring Cloud Gateway 4.2.0 and are not an enterprise customer, you can upgrade to any Spring Cloud Gateway 4.2.x release newer than 4.2.0  available on Maven Centeral https://repo1.maven.org/maven2/org/springframework/cloud/spring-cloud-gateway/ . Ideally if you are not an enterprise customer, you should be upgrading to 5.0.2 or 5.1.1 which are the current supported open source releases."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-15"}]}], "references": [{"url": "https://spring.io/security/cve-2026-22750", "source": "[email protected]"}]}}