Is github.com/go-chi/chi/v5 5.2 vulnerable?

Go · 6 releases from 5.2.0 to 5.2.5 · latest github.com/go-chi/chi/v5 is 5.5.0 · checked 18 Nov 2026

Yes: 5 known advisories

Yes. github.com/go-chi/chi/v5 5.2.5, the last 5.2 release, is affected by 5 known security advisories (2 medium, 3 low), including CVE-2026-114437, CVE-2026-72815, CVE-2026-72815. 4 more affect earlier 5.2.x releases. Upgrade to 5.4.0 or later to fix all of them.

Upgrade with:go get github.com/go-chi/chi/v5@v5.4.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

Advisories affecting github.com/go-chi/chi/v5 5.2.5

  • 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

Fixed within 5.2.x, affecting earlier releases

  • 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

Every github.com/go-chi/chi/v5 5.2.x release

Affected: 5.2.0 to 5.2.5. Latest github.com/go-chi/chi/v5: 5.5.0.

VersionKnown advisories
github.com/go-chi/chi/v5 5.2.5CVE-2026-114437, CVE-2026-72815, CVE-2026-72817, CVE-2026-72816, CVE-2026-72815
github.com/go-chi/chi/v5 5.2.4CVE-2026-114437, CVE-2026-72815, CVE-2026-72817, CVE-2026-72816, CVE-2026-72815
github.com/go-chi/chi/v5 5.2.3CVE-2026-114437, CVE-2026-72815, CVE-2026-72817, CVE-2026-72816, CVE-2026-72815, CVE-2025-69725, CVE-2025-69725
github.com/go-chi/chi/v5 5.2.2CVE-2026-114437, CVE-2026-72815, CVE-2026-72817, CVE-2026-72816, CVE-2026-72815, CVE-2025-69725, CVE-2025-69725
github.com/go-chi/chi/v5 5.2.1CVE-2026-114437, CVE-2026-72815, CVE-2026-72817, CVE-2026-72816, CVE-2026-72815, CVE-2025-71405, CVE-2025-71405
github.com/go-chi/chi/v5 5.2.0CVE-2026-114437, CVE-2026-72817, CVE-2026-72816, CVE-2025-71405

Which of your client projects are still on github.com/go-chi/chi/v5 5.2?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/go-chi/chi/v5 version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other github.com/go-chi/chi/v5 versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.