Vulnerability · Published Nov 4, 2026 · Assigned by VulnCheck
CVE-2026-122132go-chi chi 5.2.2 through 5.5.0 Open Redirect via RedirectSlashes Middleware
Medium 6.1
In plain English
A medium-severity open redirect in chi from go-chi. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | golang-github-go-chi-chi | no fix listed | DEBIAN-CVE-2026-122132 |
| Go | github.com/go-chi/chi | no fix listed | GO-2026-4316 |
| Go | github.com/go-chi/chi/v2 | no fix listed | GO-2026-4316 |
| Go | github.com/go-chi/chi/v3 | no fix listed | GO-2026-4316 |
| Go | github.com/go-chi/chi/v4 | no fix listed | GO-2026-4316 |
| Go | github.com/go-chi/chi/v5 | 5.2.4 | GHSA-mqqf-5wvp-8fh8 |
| Go | github.com/go-chi/chi/v5 | 5.2.4 | GO-2026-4316 |
| Ubuntu:22.04:LTS | golang-github-go-chi-chi | no fix listed | UBUNTU-CVE-2026-122132 |
| Ubuntu:24.04:LTS | golang-github-go-chi-chi | no fix listed | UBUNTU-CVE-2026-122132 |
| Ubuntu:26.04:LTS | golang-github-go-chi-chi | no fix listed | UBUNTU-CVE-2026-122132 |
| Ubuntu:26.10 | golang-github-go-chi-chi | no fix listed | UBUNTU-CVE-2026-122132 |
Affected products (as reported)
Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- Pull Request #1238 issue-tracking, patch
- https://github.com/go-chi/chi product
- GitHub Security Advisory (GHSA-mqqf-5wvp-8fh8) related, vendor-advisory
- https://github.com/go-chi/chi/blob/v5.5.0/middleware/strip.go#L41-L69 technical-description
- VulnCheck Advisory: go-chi chi 5.2.2 through 5.5.0 Open Redirect via RedirectSlashes Middleware third-party-advisory