GHSA-4h76-926q-wxxw: Duplicate Advisory Chi Has An Open Redirect Vulnerability
MODERATEGHSA-4h76-926q-wxxw is a MODERATE (CVSS 4.7) chi has an open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves chi has an open redirect vulnerability in the redirectslashes middleware. Remediation is available by upgrading affected packages to version 5.2.4.
GHSA-4h76-926q-wxxw at a Glance
Security Impact
CVSS: 4.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N).
How to Fix GHSA-4h76-926q-wxxw
To remediate this vulnerability, upgrade all affected Duplicate Advisory 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/go-chi/chi/v5 to 5.2.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/go-chi/chi/v5
How to Check if You Are Affected
To determine whether your application is affected by GHSA-4h76-926q-wxxw, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for github.com/go-chi/chi/v5
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.2.4), 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 Duplicate Advisory, 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
GHSA-4h76-926q-wxxw Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/go-chi/chi/v5
|
Go |
≥ 5.2.2
< 5.2.4
|
5.2.4
|
References
Frequently Asked Questions
What is GHSA-4h76-926q-wxxw?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-4h76-926q-wxxw?
Is github.com/go-chi/chi/v5 affected?
What is the CVSS score of GHSA-4h76-926q-wxxw?
What CWE is associated with GHSA-4h76-926q-wxxw?
How can I check Go dependencies for GHSA-4h76-926q-wxxw?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4h76-926q-wxxw",
"modified" : "2026-06-18T13:01:47Z",
"published" : "2026-02-19T18:31:54Z",
"withdrawn" : "2026-06-18T13:01:47Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: chi has an open redirect vulnerability in the RedirectSlashes middleware",
"details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-mqqf-5wvp-8fh8. This link is maintained to preserve external references.\n\n### Original Description\nAn Open Redirect vulnerability in the go-chi/chi >=5.2.2 RedirectSlashes function allows remote attackers to redirect victim users to malicious websites using the legitimate website domain.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/go-chi/chi/v5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.2.2"
}, {
"fixed" : "5.2.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/go-chi/chi/security/advisories/GHSA-mqqf-5wvp-8fh8"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-69725"
}, {
"type" : "WEB",
"url" : "http://go-chichi.com"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-18T13:01:47Z",
"nvd_published_at" : "2026-02-19T17:24:39Z"
}
}