go-chi chi 5.2.2 through 5.5.0 Open Redirect via RedirectSlashes Middleware
Historical advisory recorded 5 Nov 2026 20:36:27 UTC. Read the latest advisory.
cve-program · CVE-2026-122132
Publishedgo-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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-122132 · CVE overview and exploitation status
cve-program · CVE-2026-122132
- https://github.com/go-chi/chi/pull/1238
- https://github.com/go-chi/chi
- https://github.com/go-chi/chi/security/advisories/GHSA-mqqf-5wvp-8fh8
- https://github.com/go-chi/chi/blob/v5.5.0/middleware/strip.go#L41-L69
- https://www.vulncheck.com/advisories/go-chi-chi-5.2.2-through-5.5.0-open-redirect-via-redirectslashes-middleware
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.