GHSA-h5g6-xmh4-hc37: OpenRun: Redirect URL validation bypass using //host paths leads to Open Redirect
The OpenRun project contains a vulnerability in its redirect URL validation logic that allows attackers to bypass restrictions using URLs with double slashes (//) in the path. This bypass leads to an open redirect, where users can be redirected to arbitrary external sites despite validation checks. The issue arises because the validation only checks the host and scheme of the redirect URL, but the path starting with // is interpreted by browsers as a protocol-relative URL, enabling redirection to external domains. This vulnerability affects OpenRun versions prior to 0.17.7.
AI Analysis
Technical Summary
OpenRun's redirect URL validation attempts to restrict redirects to the same host and scheme as the current website by validating the referrer header. However, if an attacker supplies a redirect URL such as http://127.0.0.1:25222//fushuling.com, the validation passes because the host and scheme match. The final redirect uses the path component, which is //fushuling.com. Browsers interpret URLs starting with // as protocol-relative URLs, causing the redirect to an external domain (http://fushuling.com), thus bypassing the intended restrictions and resulting in an open redirect vulnerability (CWE-601). This behavior was reproducible locally and affects OpenRun versions before 0.17.7.
Potential Impact
This vulnerability allows attackers to perform open redirect attacks by bypassing URL validation. Users can be redirected to arbitrary external websites, which can facilitate phishing, social engineering, or other malicious activities. The vulnerability does not require authentication and can be triggered by crafting a specially formed redirect URL. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid relying solely on host and scheme validation for redirect URLs and implement stricter validation that properly handles URLs with protocol-relative paths (starting with //).
GHSA-h5g6-xmh4-hc37: OpenRun: Redirect URL validation bypass using //host paths leads to Open Redirect
Description
The OpenRun project contains a vulnerability in its redirect URL validation logic that allows attackers to bypass restrictions using URLs with double slashes (//) in the path. This bypass leads to an open redirect, where users can be redirected to arbitrary external sites despite validation checks. The issue arises because the validation only checks the host and scheme of the redirect URL, but the path starting with // is interpreted by browsers as a protocol-relative URL, enabling redirection to external domains. This vulnerability affects OpenRun versions prior to 0.17.7.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenRun's redirect URL validation attempts to restrict redirects to the same host and scheme as the current website by validating the referrer header. However, if an attacker supplies a redirect URL such as http://127.0.0.1:25222//fushuling.com, the validation passes because the host and scheme match. The final redirect uses the path component, which is //fushuling.com. Browsers interpret URLs starting with // as protocol-relative URLs, causing the redirect to an external domain (http://fushuling.com), thus bypassing the intended restrictions and resulting in an open redirect vulnerability (CWE-601). This behavior was reproducible locally and affects OpenRun versions before 0.17.7.
Potential Impact
This vulnerability allows attackers to perform open redirect attacks by bypassing URL validation. Users can be redirected to arbitrary external websites, which can facilitate phishing, social engineering, or other malicious activities. The vulnerability does not require authentication and can be triggered by crafting a specially formed redirect URL. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid relying solely on host and scheme validation for redirect URLs and implement stricter validation that properly handles URLs with protocol-relative paths (starting with //).
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h5g6-xmh4-hc37
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-55252"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a50ba3f68715ace4357dda8
Added to database: 07/10/2026, 09:24:15 UTC
Last enriched: 07/10/2026, 09:33:29 UTC
Last updated: 07/10/2026, 13:51:19 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.