p PatchFirst

CVE-2026-72816

CVE-2026-72816 · go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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 verifying that the request originated from a trusted proxy. Attackers can supply arbitrary IP addresses in these headers to bypass IP-based access controls, evade rate limiting and geo-IP restrictions, and pollute audit logs. Fixed in 5.3.0.

CVSS 6.9 · Moyenne · EPSS 0,3% · Correctif disponible

Publication
Mise à jour

Pile logicielle: system

Produits et versions concernés

  • chi

    Versions du logiciel
    • ≥ 0, < 5.3.0: Concernée (semver)
    • 5.3.0: Non concernée (semver)

    Mettez à jour vers 5.3.0

  • golang-github-go-chi-chi Debian:12

    Versions du logiciel
    • 5.0.7-1
    • 5.1.0-1
    • 5.2.0-1
    • 5.2.3-1
    • 5.2.5-1
    • 5.3.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-go-chi-chi Debian:13

    Versions du logiciel
    • 5.2.0-1
    • 5.2.3-1
    • 5.2.5-1
    • 5.3.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-go-chi-chi Debian:14

    Versions du logiciel
    • 5.2.0-1
    • 5.2.3-1
    • 5.2.5-1
    Plages de versions concernées
    • ECOSYSTEM: < 5.3.0-1

    Mettez à jour vers 5.3.0-1

  • golang-github-go-chi-chi Ubuntu:22.04:LTS

    Versions du logiciel
    • 1.5.1-2
    • 5.0.7-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-go-chi-chi Ubuntu:24.04:LTS

    Versions du logiciel
    • 5.0.7-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-go-chi-chi Ubuntu:26.04:LTS

    Versions du logiciel
    • 5.2.0-1
    • 5.2.3-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

Sources originales

Vérifiez votre serveur →