CVE-2025-69725 chi has an open redirect vulnerability in the RedirectSlashes middleware
Remote attackers can redirect users to malicious sites via the RedirectSlashes function in the go-chi/chi library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-69725?
CVE-2025-69725 is a medium-severity vulnerability in n/a, published on 19 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An Open Redirect vulnerability in the go-chi/chi >=5.2.2 RedirectSlashes function allows remote attackers to redirect victim users to malicious websites using the legitimate website domain.
Weakness: CWE-601
Which versions are affected by CVE-2025-69725?
7 open source packages ship an affected version, including github.com/go-chi/chi/v5, github.com/go-chi/chi and github.com/go-chi/chi/v2.
| Package | Affected | Fixed in |
|---|---|---|
github.com/go-chi/chi/v5 Go | From 5.2.2 | 5.2.4 |
github.com/go-chi/chi/v5 Go | From 5.2.2 | 5.2.4 |
github.com/go-chi/chi/v5 Go | From 5.2.2 | 5.2.4 |
github.com/go-chi/chi Go | All versions | None |
github.com/go-chi/chi/v2 Go | All versions | None |
github.com/go-chi/chi/v3 Go | All versions | None |
1 more packages
github.com/go-chi/chi/v4 Go | All versions | None |
Linux distribution packages (1)
warewulf4 openSUSE:Tumbleweed | All versions | 4.6.5-2.1 |
How do I fix CVE-2025-69725?
Upgrade github.com/go-chi/chi/v5 to 5.2.4 or later.
Is CVE-2025-69725 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-69725 exists.
Sources
Also known as CLEANSTART-2026-BV39153, CLEANSTART-2026-IL37886, CLEANSTART-2026-NL66537, DEBIAN-CVE-2025-69725, GHSA-mqqf-5wvp-8fh8, GO-2026-4316 and 41 more.