CVE-2026-122132

go-chi chi 5.2.2 through 5.5.0 Open Redirect via RedirectSlashes Middleware

Published Nov 4, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
go-chi chi 5.2.2 through 5.5.0 contains an open redirect vulnerability in the RedirectSlashes middleware that allows attackers to redirect victims to external hosts by embedding tab characters in request paths. Attackers can craft links with a URL-encoded tab, which browsers strip from the 301 Location header and resolve as a protocol-relative URL, bypassing the fix for CVE-2025-69725.

Analysis

AI-generated

Technical impact

In the Go router library chi, versions 5.2.2 through 5.5.0 contain a flaw in the RedirectSlashes middleware that lets attackers redirect users to external sites by inserting tab characters into URL paths. The tabs are URL‑encoded; browsers strip them from the Location header and interpret the remainder as a protocol‑relative URL, bypassing the earlier fix for a related issue. This weakness is an open redirect, classified as CWE‑601. The result is a redirect that can lead visitors to phishing or malware sites, exposing them to credential theft or other social engineering attacks.

Affected Systems

The flaw affects the go‑chi chi library, a lightweight Go HTTP router used by many web applications. Anyone incorporating chi in the vulnerable version range of 5.2.2 through 5.5.0 will be exposed. Projects that rely on these versions must update.

Risk and Exploitability

With a CVSS score of 5.1 the risk is moderate; EPSS is not available and the vulnerability is not listed in CISA KEV, so there is no known active exploitation. The likely attack vector is via crafted URLs sent to users, requiring only that a victim click the link. It is a client‑side issue; there is no privilege escalation or direct server compromise. Nevertheless, because open redirects are a common vector for phishing, the vendor recommends fixing as soon as possible.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the chi library to the latest release that contains the fix.
  • If an upgrade is not yet possible, remove or disable the RedirectSlashes middleware for requests that contain tab or other control characters, and configure the middleware to reject such URLs.
  • Implement server‑side validation to reject URLs that contain tab characters or other non‑alphanumeric path segments before they reach the routing logic.

Generated by OpenCVE AI on November 4, 2026 at 22:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Go-chi
Go-chi chi
Vendors & Products Go-chi
Go-chi chi
Type Values Removed Values Added
Description go-chi chi 5.2.2 through 5.5.0 contains an open redirect vulnerability in the RedirectSlashes middleware that allows attackers to redirect victims to external hosts by embedding tab characters in request paths. Attackers can craft links with a URL-encoded tab, which browsers strip from the 301 Location header and resolve as a protocol-relative URL, bypassing the fix for CVE-2025-69725.
Title go-chi chi 5.2.2 through 5.5.0 Open Redirect via RedirectSlashes Middleware
Weaknesses CWE-601
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 5, 2026, 7:41 PM
Reserved
Nov 4, 2026, 6:13 PM
Status
Deferred
Published
Nov 4, 2026, 9:18 PM
Modified
Nov 5, 2026, 8:17 PM
Severity
Moderate
Public date
Nov 4, 2026, 8:36 PM