# CVE-2026-122132: go-chi chi open redirect in RedirectSlashes middleware

Source: https://junglewise.ai/threats/cve-2026-122132-go-chi-chi-5-2-2-through-5-5-0-contains-an-open-redirect  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-04. Updated: 2026-11-04  
License: CC BY 4.0 with a link back

CVE-2026-122132 · Severity: medium · CVSS 6.1 · Published 2026-11-04

go-chi is a lightweight HTTP router library used to build web services in Go. The RedirectSlashes middleware contains an open redirect vulnerability that allows attackers to craft malicious links redirecting users to external websites. An attacker can exploit this by embedding tab characters in URLs, which browsers strip from redirect responses, causing victims to be sent to attacker-controlled sites.

Technologies: [Go-Chi Chi](https://junglewise.ai/threats/technologies/chi). Vendors: [Go-Chi](https://junglewise.ai/threats/vendors/go-chi).

## Quick answers

**Is CVE-2026-122132 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-122132 being exploited in the wild.

**How severe is CVE-2026-122132?** Medium severity, with a CVSS score of 6.1, published 4 November 2026.

**Which products and versions are affected?** Go-Chi Chi 5.2.2 through 5.5.0.

**Is there a fix for CVE-2026-122132?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-122132 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-122132?** Check whether you run Go-Chi Chi at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The RedirectSlashes middleware fails to sanitize tab characters (URL-encoded as %09) in request paths before generating a 301 redirect Location header. While the middleware blocks backslashes and normalizes forward slashes, tab characters bypass this validation and are stripped by browsers when parsing the Location header, allowing the path to be interpreted as a protocol-relative URL pointing to an external host. This bypasses the previous fix for CVE-2025-69725.

## Affected products

- go-chi chi 5.2.2 through 5.5.0

## Timeline

- 2026-11-04: disclosed

## References

- [https://github.com/go-chi/chi](https://github.com/go-chi/chi)
- [https://github.com/go-chi/chi/blob/v5.5.0/middleware/strip.go](https://github.com/go-chi/chi/blob/v5.5.0/middleware/strip.go)

## Related threats

- [Chi web framework client IP spoofing via X-Forwarded-For](https://junglewise.ai/threats/duplicate-advisory-chi-client-ip-spoofing-in-clientipfromxff-via-x-f73190e1)
- [Go Chi ClientIPFromXFF IP spoofing via X-Forwarded-For](https://junglewise.ai/threats/cve-2026-114437-in-the-golang-chi-web-framework-the-clientipfromxff-middleware)
- [go-chi chi open redirect in RedirectSlashes middleware](https://junglewise.ai/threats/go-chi-chi-open-redirect-in-redirectslashes-middleware-700b7eff)
- [go-chi chi open redirect in RedirectSlashes middleware](https://junglewise.ai/threats/cve-2025-69725-go-chi-chi-open-redirect-in-redirectslashes-middleware)
