Skip to content
OpenAdvisories

Package · Go

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

3 known vulnerabilities.

3 results · Feed

  • Medium 6.5

    go-chi chi 0.9.0 before 5.3.0 IP Spoofing via X-Forwarded-For

    go-chi/chi versions 0.9.0 before 5.3.0 contains an IP spoofing vulnerability in the RealIP middleware, which resolves the request source IP (Request.RemoteAddr) using the first IP in the X-Forwarded-For header without validating trusted proxies. A malicious c…

  • Medium 6.5

    go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware

    go-chi/chi through 5.2.1 contains an IP spoofing vulnerability in the RealIP middleware (middleware/realip.go). The realIP() function reads client-controlled headers (True-Client-IP, X-Real-IP, and X-Forwarded-For) and overwrites r.RemoteAddr without verifyin…

  • Medium 6.9
    CVE-2026-72815 Public exploit

    go-chi chi v5.2.1 IP Spoofing via X-Forwarded-For Header

    go-chi chi versions >= 5.2.1 and before 5.3.0 contain an IP spoofing vulnerability in the RealIP middleware, which blindly trusts the first (leftmost) value of the X-Forwarded-For HTTP header. A remote attacker can bypass IP-based access control lists and rat…