GHSA-4h76-926q-wxxw: Duplicate Advisory Chi Has An Open Redirect Vulnerability

MODERATE
CVSS 4.7
CWE-601
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-4h76-926q-wxxw
Severity MODERATE
CVSS v3.1 Base Score 4.7
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Duplicate Advisory
Package Ecosystem Go
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (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.

github.com/go-chi/chi/v5 fixed: 5.2.4
Upgrade github.com/go-chi/chi/v5 to 5.2.4
Verify Direct and Transitive Dependencies

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

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-mqqf-5wvp-8fh8. This link is maintained to preserve external references. ### Original Description An 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.

GHSA-4h76-926q-wxxw Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
5.2.4
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?
GHSA-4h76-926q-wxxw is a security vulnerability in Duplicate Advisory involving chi has an open redirect vulnerability in the RedirectSlashes middleware under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 5.2.4 across affected packages: github.com/go-chi/chi/v5.
What version fixes GHSA-4h76-926q-wxxw?
Upgrading to 5.2.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/go-chi/chi/v5 affected?
Yes, github.com/go-chi/chi/v5 is affected in releases prior to 5.2.4. Upgrade your dependency to 5.2.4 or later.
What is the CVSS score of GHSA-4h76-926q-wxxw?
GHSA-4h76-926q-wxxw has a CVSS v3.1 base score of 4.7 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N.
What CWE is associated with GHSA-4h76-926q-wxxw?
GHSA-4h76-926q-wxxw is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check Go dependencies for GHSA-4h76-926q-wxxw?
Run the dependency tree command: 'inspect dependencies for github.com/go-chi/chi/v5'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}