CVE catalog

CVE-2025-71405

chi versions before v5.2.2 contain an open redirect vulnerability in the RedirectSlashes middleware function that uses the Host header to construct redirect URLs. Attackers can manipulate the Host hea

[CVE catalog]

Severity
Medium · CVSS 5.4CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.39% · Oct 25, 2026

chi versions before v5.2.2 contain an open redirect vulnerability in the RedirectSlashes middleware function that uses the Host header to construct redirect URLs. Attackers can manipulate the Host header to redirect users to arbitrary hosts, enabling phishing attacks and credential theft.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangolang-github-go-chi-chisid5.3.0-1fixed
Debiangolang-github-go-chi-chiforky5.3.0-1fixed
Debiangolang-github-go-chi-chitrixie5.2.0-1vulnerable
Debiangolang-github-go-chi-chibookworm5.0.7-1vulnerable
Gogithub.com/go-chi/chi/v5Not reported5.2.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-github-go-chi-chisourcesid5.2.3-1not yet assignedNot reportedNot reported
Debiangolang-github-go-chi-chisourceforky5.2.3-1not yet assignedNot reportedNot reported
Debiangolang-github-go-chi-chisourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debiangolang-github-go-chi-chisourcebookworm(unfixed)not yet assignedNot reportedNot reported
Gogithub.com/go-chi/chi/v5goNot reported5.2.2Not reportedGHSA-VRW8-FXC6-2R93Not reported

Notes

[trixie] golang-github-go-chi-chi: Minor issue [bookworm] golang-github-go-chi-chi: Minor issue; out of LTS support

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [golang-github-go-chi-chi]

    Details (2)
    • 5.0.7-1 · all · bookworm

      Affected

      nvd · golang-github-go-chi-chi · debian · bookworm; nvd · golang-github-go-chi-chi · debian · 12

    • 5.0.7-1 · all · bookworm

      Affected

      nvd · golang-github-go-chi-chi · debian · bookworm; nvd · golang-github-go-chi-chi · debian · 12

[Debian 13 (Trixie)]

Observed:

References