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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| go-chi | chi | 5.2.2 – ≤ 5.5.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-go-chi-chi | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | golang-github-go-chi-chi | No fix yet | — |
| Ubuntu 26.04 LTS | golang-github-go-chi-chi | No fix yet | — |
| Ubuntu 24.04 LTS | golang-github-go-chi-chi | No fix yet | — |
| Ubuntu 22.04 LTS | golang-github-go-chi-chi | No fix yet | — |
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