CISA list

● Go module family

github.com/go-chi/chi/v5

Github.com/go-chi/chi/v5 has six security advisories.

As of , github.com/go-chi/chi/v5 has six security advisories.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
PackageIf you runUpgrade toAdvisories
github.com/go-chi/chiAll versionsNo fixed version listed1 advisory
github.com/go-chi/chi/middlewareUp to and including 1.5.5No fixed version listed2 advisories
github.com/go-chi/chi/v2All versionsNo fixed version listed1 advisory
github.com/go-chi/chi/v2/middlewareUp to and including 2.1.1No fixed version listed2 advisories
github.com/go-chi/chi/v3All versionsNo fixed version listed1 advisory
github.com/go-chi/chi/v3/middlewareUp to and including 3.3.5No fixed version listed2 advisories
github.com/go-chi/chi/v4All versionsNo fixed version listed1 advisory
github.com/go-chi/chi/v4/middlewareUp to and including 4.1.3No fixed version listed2 advisories
github.com/go-chi/chi/v5Before 5.4.05.4.06 advisories
github.com/go-chi/chi/v5/middlewareBefore 5.3.05.3.03 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-114437GHSA-j6qf-3m9c-vwj3chi: Client IP spoofing in ClientIPFromXFF via X-Forwarded-ForModerate severity. github.com/go-chi/chi/v5github.com/go-chi/chi/v5: Before 5.4.05.4.0
CVE-2026-72815GHSA-3fxj-6jh8-hvhx, GO-2026-5774chi Has an IP Spoofing Vulnerability in `middleware.RealIP`Moderate severity. github.com/go-chi/chi/v5, github.com/go-chi/chi/v5/middlewaregithub.com/go-chi/chi/v5: From 5.2.1 before 5.3.0 / github.com/go-chi/chi/v5/middleware: From 5.2.1 before 5.3.05.3.0
CVE-2026-72816GHSA-rjr7-jggh-pgcp, GO-2026-5777chi's RealIP Middleware allows IP spoofing via unvalidated X-Forwarded-For headerHigh severity. github.com/go-chi/chi/middleware, github.com/go-chi/chi/v2/middleware, github.com/go-chi/chi/v3/middleware, github.com/go-chi/chi/v4/middleware, github.com/go-chi/chi/v5…github.com/go-chi/chi/middleware: Up to and including 1.5.5 / github.com/go-chi/chi/v2/middleware: Up to and including 2.1.1 / github.com/go-chi/chi/v3/middleware: Up to and including 3.3.5 / github.com/go-chi/chi/v4/middleware: Up to and including 4.1.3 / github.com/go-chi/chi/v5: Before 5.3.0 / github.com/go-chi/chi/v5/middleware: Before 5.3.05.3.0
CVE-2026-72817GHSA-9g5q-2w5x-hmxf, GO-2026-5775chi Middleware Vulnerable to Potential IP Spoofing via `X-Forwarded-For` Header in `Request.RemoteAddr` ResolutionHigh severity. github.com/go-chi/chi/middleware, github.com/go-chi/chi/v2/middleware, github.com/go-chi/chi/v3/middleware, github.com/go-chi/chi/v4/middleware, github.com/go-chi/chi/v5…github.com/go-chi/chi/middleware: From 0.9.0 up to and including 1.5.5 / github.com/go-chi/chi/v2/middleware: Up to and including 2.1.1 / github.com/go-chi/chi/v3/middleware: Up to and including 3.3.5 / github.com/go-chi/chi/v4/middleware: Up to and including 4.1.3 / github.com/go-chi/chi/v5: Before 5.3.0 / github.com/go-chi/chi/v5/middleware: Before 5.3.05.3.0
CVE-2025-69725CVE-2026-122132, GHSA-mqqf-5wvp-8fh8, GO-2026-4316chi has an open redirect vulnerability in the RedirectSlashes middlewareModerate severity. github.com/go-chi/chi, github.com/go-chi/chi/v2, github.com/go-chi/chi/v3, github.com/go-chi/chi/v4, github.com/go-chi/chi/v5github.com/go-chi/chi: All versions / github.com/go-chi/chi/v2: All versions / github.com/go-chi/chi/v3: All versions / github.com/go-chi/chi/v4: All versions / github.com/go-chi/chi/v5: From 5.2.2 before 5.2.45.2.4
CVE-2025-71405GHSA-vrw8-fxc6-2r93, GO-2025-3770chi Allows Host Header Injection which Leads to Open Redirect in RedirectSlashesModerate severity. github.com/go-chi/chi/v5github.com/go-chi/chi/v5: Before 5.2.25.2.2

Packages on this page

In these 10 packages, half or more of the advisories of each smaller package are also advisories of a larger one, so one page covers them. The table has rows for each package apart, because a release of one is not a release of another.

  • github.com/go-chi/chi
  • github.com/go-chi/chi/middleware
  • github.com/go-chi/chi/v2
  • github.com/go-chi/chi/v2/middleware
  • github.com/go-chi/chi/v3
  • github.com/go-chi/chi/v3/middleware
  • github.com/go-chi/chi/v4
  • github.com/go-chi/chi/v4/middleware
  • github.com/go-chi/chi/v5
  • github.com/go-chi/chi/v5/middleware
Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the Go vulnerability database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0