Vulnerabilities in pkg:golang/github.com/openrundev/openrun
PACKAGECVE-2026-55252 is a MODERATE redirect url validation bypass using vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting OpenRun libraries in the Go ecosystem. The issue involves redirect url validation bypass using //host paths leads to open redirect. Remediation is available by upgrading affected packages to version 0.17.7.
pkg:golang/github.com/openrundev/openrun
Vulnerability advisories affecting package pkg:golang/github.com/openrundev/openrun. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-h5g6-xmh4-hc37 | CVE-2026-55252 | MODERATE | OpenRun: Redirect URL validation bypass using //host paths leads to Open Redirect |
CVE-2026-55252 at a Glance
How to Fix CVE-2026-55252
To remediate this vulnerability, upgrade all affected OpenRun dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/openrundev/openrun to 0.17.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/openrundev/openrun
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-55252, inspect your project dependencies for OpenRun:
inspect dependencies for github.com/openrundev/openrun
Analyze the terminal output to locate any version of OpenRun in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.17.7), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In OpenRun, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-55252 Affected OpenRun Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/openrundev/openrun
|
Go |
< 0.17.7
|
0.17.7
|
References
Frequently Asked Questions
What is CVE-2026-55252?
Which OpenRun versions are affected?
What version fixes CVE-2026-55252?
Is github.com/openrundev/openrun affected?
What CWE is associated with CVE-2026-55252?
How can I check Go dependencies for CVE-2026-55252?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h5g6-xmh4-hc37",
"modified" : "2026-07-09T23:19:39Z",
"published" : "2026-07-09T23:19:39Z",
"aliases" : [ "CVE-2026-55252" ],
"summary" : "OpenRun: Redirect URL validation bypass using //host paths leads to Open Redirect",
"details" : "### Summary\nThe restrictions on redirect URLs in `openrun` can be bypassed by attackers, leading to open redirect attacks.\n\n### Details\n\nIn 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.\n\n<img width=\"1606\" height=\"1346\" alt=\"QQ20260602-140205-2-2\" src=\"https://github.com/user-attachments/assets/83c549f3-38d7-444d-90f0-131d806f67ff\" />\n\nHere'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 the URL, i.e., `//fushuling.com`. \n\nBrowsers automatically complete the HTTP header for URLs starting with `//`, ultimately successfully bypassing the restriction and redirecting to the external address `http://fushuling.com`.\n\nThis vulnerable behavior was successfully reproduced locally. Normally, specifying an external address directly will be blocked, so it will not redirect.\n\n<img width=\"1587\" height=\"717\" alt=\"QQ20260602-140756-2-3\" src=\"https://github.com/user-attachments/assets/51430c42-bd10-401b-9c9f-27a91a0bc648\" />\n\nHowever, if the redirect URL is `http://127.0.0.1:25222//fushuling.com`, the existing validation logic is bypassed, and the Location header is successfully set to `//fushuling.com`.\n\n```\nPOST /redirecttest/abc/frag HTTP/1.1\nHost: 127.0.0.1:25222\nReferer: http://127.0.0.1:25222//fushuling.com\nCache-Control: max-age=0\nsec-ch-ua: \"Not(A:Brand\";v=\"24\", \"Chromium\";v=\"122\"\nsec-ch-ua-mobile: ?0\nsec-ch-ua-platform: \"Windows\"\nUpgrade-Insecure-Requests: 1\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.57 Safari/537.36\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7\nSec-Fetch-Site: none\nSec-Fetch-Mode: navigate\nSec-Fetch-User: ?1\nSec-Fetch-Dest: document\nAccept-Encoding: gzip, deflate, br\nAccept-Language: zh-CN,zh;q=0.9\nConnection: close\nContent-Type: application/x-www-form-urlencoded\nContent-Length: 0\n\n```\n<img width=\"1536\" height=\"729\" alt=\"QQ20260602-140925-2-4\" src=\"https://github.com/user-attachments/assets/31fde919-5f90-409f-8b14-af6c9c71761b\" />\n\nThe user was then successfully redirected to the external address `http://fushuling.com`.\n\n<img width=\"1692\" height=\"855\" alt=\"QQ20260602-141005-2-5\" src=\"https://github.com/user-attachments/assets/83b43ef6-52fa-4218-908b-7795394ae707\" />\n\n### PoC\n```\nhttp://127.0.0.1:25222//fushuling.com\n```\n\n### Impact\nOpen Redirect",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openrundev/openrun"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.17.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/openrundev/openrun/security/advisories/GHSA-h5g6-xmh4-hc37"
}, {
"type" : "WEB",
"url" : "https://github.com/openrundev/openrun/commit/709da784fcf1311c85f30f3542cfa3601a78bbf0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openrundev/openrun"
}, {
"type" : "WEB",
"url" : "https://github.com/openrundev/openrun/releases/tag/v0.17.7"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-09T23:19:39Z",
"nvd_published_at" : null
}
}