CVE-2025-69725 chi has an open redirect vulnerability in the RedirectSlashes middleware

Medium 4.7 Published Updated

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.

PackageAffectedFixed in
github.com/go-chi/chi/v5 GoFrom 5.2.25.2.4
github.com/go-chi/chi/v5 GoFrom 5.2.25.2.4
github.com/go-chi/chi/v5 GoFrom 5.2.25.2.4
github.com/go-chi/chi GoAll versionsNone
github.com/go-chi/chi/v2 GoAll versionsNone
github.com/go-chi/chi/v3 GoAll versionsNone
1 more packages
github.com/go-chi/chi/v4 GoAll versionsNone
Linux distribution packages (1)
warewulf4 openSUSE:TumbleweedAll versions4.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.

Is CVE-2025-69725 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free