GoWorst: High2 advisories

github.com/go-chi/chi/v2/middleware: known vulnerabilities

github.com/go-chi/chi/v2/middleware has 2 reviewed security advisories in the GitHub Advisory Database — 2 high. The most recent was published 2026-06-25. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/go-chi/chi/v2/middleware versions running across your servers, containers and images, and ranks what to patch first.

How to fix github.com/go-chi/chi/v2/middleware

Upgrade github.com/go-chi/chi/v2/middleware to a release at or above the fixed version shown for each advisory below. For Go:

go get github.com/go-chi/chi/v2/middleware@<fixed> && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

chi Middleware Vulnerable to Potential IP Spoofing via `X-Forwarded-For` Header in `Request.RemoteAddr` Resolution High CWE-346 — Affected: up to and including 2.1.1. No fixed release is listed. Published 2026-06-25. GHSA-9g5q-2w5x-hmxf · CVE-2026-72817
chi's RealIP Middleware allows IP spoofing via unvalidated X-Forwarded-For header High CWE-290 CWE-348 — Affected: up to and including 2.1.1. No fixed release is listed. Published 2026-06-25. GHSA-rjr7-jggh-pgcp · CVE-2026-72816

Find github.com/go-chi/chi/v2/middleware across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.