github.com/go-chi/chi/v5 vulnerabilities

Registry
Go
Latest
5.5.0

9 known advisories

The latest version, 5.5.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:go get github.com/go-chi/chi/v5@v5.5.0

Is your project on an affected github.com/go-chi/chi/v5?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for github.com/go-chi/chi/v5

  • MediumCVE-2026-114437GHSA-j6qf-3m9c-vwj323 Oct 2026

    chi: Client IP spoofing in ClientIPFromXFF via X-Forwarded-For

    Affected
    <5.4.0
    Fixed in
    5.4.0
  • LowCVE-2026-72815GO-2026-577424 Jul 2026

    Chi has an IP spoofing vulnerability in middleware.RealIP in github.com/go-chi/chi

    Affected
    >=5.2.1 <5.3.0
    Fixed in
    5.3.0
  • LowCVE-2026-72817GO-2026-577524 Jul 2026

    Chi Middleware vulnerable to IP spoofing via X-Forwarded-For header in github.com/go-chi/chi

    Affected
    <5.3.0
    Fixed in
    5.3.0
  • LowCVE-2026-72816GO-2026-577724 Jul 2026

    Chi's RealIP Middleware allows IP spoofing via unvalidated X-Forwarded-For header in github.com/go-chi/chi

    Affected
    <5.3.0
    Fixed in
    5.3.0
  • MediumCVE-2026-72815GHSA-3fxj-6jh8-hvhx25 Jun 2026

    chi Has an IP Spoofing Vulnerability in `middleware.RealIP`

    Affected
    >=5.2.1 <5.3.0
    Fixed in
    5.3.0
  • LowCVE-2025-69725GO-2026-431623 Jan 2026

    Open redirect vulnerability in the RedirectSlashes middleware in github.com/go-chi/chi

    Affected
    >=5.2.2 <5.2.4
    Fixed in
    5.2.4
  • MediumCVE-2025-69725GHSA-mqqf-5wvp-8fh814 Jan 2026

    chi has an open redirect vulnerability in the RedirectSlashes middleware

    Affected
    >=5.2.2 <5.2.4
    Fixed in
    5.2.4
  • LowCVE-2025-71405GO-2025-377021 Jul 2025

    Host header injection which leads to open redirect in RedirectSlashes in github.com/go-chi/chi

    Affected
    >=5.2.1 <5.2.2
    Fixed in
    5.2.2
  • MediumCVE-2025-71405GHSA-vrw8-fxc6-2r9320 Jun 2025

    chi Allows Host Header Injection which Leads to Open Redirect in RedirectSlashes

    Affected
    <5.2.2
    Fixed in
    5.2.2

Is your github.com/go-chi/chi/v5 version vulnerable?

Which of your client projects still run an old github.com/go-chi/chi/v5?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.