Medium, CVSS 5.1GoPublished
OpenRun: Redirect URL validation bypass using //host paths leads to Open Redirect
CVE-2026-55252 · GHSA-h5g6-xmh4-hc37
- Affected
- Go github.com/openrundev/openrun < 0.17.7
- Fixed in
- 0.17.7· Vendor fix available
- Issue
- The restrictions on redirect URLs in openrun can be bypassed by attackers, leading to open redirect attacks. Details In the current project, the referrer header value is used for subsequent redirects, so there is currently a validation for this redirect value. The current validation logic requires that the host and schema of the redirect URL be the same as the current website's URL, and finally, the path part is used for redirection. This check seems robust, but it can still be bypassed by attackers. <img width="1606" height="1346" alt="QQ20260602-140205-2-2" src="https://github.com/user-attachments/assets/83c549f3-38d7-444d-90f0-131d806f67ff" / Here's the problem: Assuming the current website is http://127.0.0.1:25222/, if the attacker passes in a redirect URL of http://127.0.0.1:25222//fushuling.com, its host and schema are obviously the same as the current website, thus bypassing the verification. However, the issue lies in the final redirect URL, which is the path part of…
Recommended action: Upgrade to 0.17.7 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.