Executive brief
Redash, a data visualization and sharing platform, is vulnerable to a flaw where users can be redirected to malicious websites after logging in. By sending a specially crafted link to a user, an attacker can trick them into visiting a fake site that looks like a legitimate part of the company's infrastructure. This is typically used in phishing attacks to steal credentials or distribute malware by exploiting the user's trust in the initial login process.
Technical details
An open redirect vulnerability (CWE-601) exists in Redash's authentication module within the get_next_path() function. While the function attempts to sanitize the 'next' parameter by stripping the scheme and netloc, it fails to normalize multiple leading slashes (e.g., '////evil.com'). When passed to Flask's redirect() function, browsers interpret these as protocol-relative URLs, leading to an external redirect. This affects all authentication methods including password login, Google OAuth, LDAP, and remote user authentication. The issue is resolved in version 26.3.1 by collapsing multiple leading slashes.
Affected products
- getredash Redash >= 5.0.2, <= 26.3.0
Timeline
- 2026-07-09: advisory: GitHub Security Advisory published by maintainers
- 2026-07-15: disclosed: CVE published to NVD
- 2026-07-15: patched: Fix identified in version 26.3.1