p PatchFirst

CVE-2026-114437

CVE-2026-114437 · Chi Client IP Spoofing in ClientIPFromXFF via X-Forwarded-For

This page contains facts from public vulnerability sources. Check the original advisory before updating.

In the Golang Chi web framework, the ClientIPFromXFF middleware skips any X-Forwarded-For entry in a configured trusted CIDR but never verifies that the direct TCP peer in http.Request.RemoteAddr belongs to that CIDR. A client that can reach the Go server directly can therefore append a trusted-looking proxy address and choose the client IP returned by middleware.GetClientIP. This issue affects chi before 5.4.0.

CVSS 6.3 · Medium · EPSS 0.1% · Public exploit · Fix available

Published
Updated

Stack: system

Affected products and versions

  • chi

    Versions
    • ≥ 0, < 5.4.0: Affected (semver)

    Update to 5.4.0

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

    Versions
    • 5.0.7-1
    • 5.1.0-1
    • 5.2.0-1
    • 5.2.3-1
    • 5.2.5-1
    • 5.3.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

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

    Versions
    • 5.2.0-1
    • 5.2.3-1
    • 5.2.5-1
    • 5.3.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

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

    Versions
    • 5.2.0-1
    • 5.2.3-1
    • 5.2.5-1
    • 5.3.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

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

    Versions
    • 1.5.1-2
    • 5.0.7-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

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

    Versions
    • 5.0.7-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-go-chi-chi Ubuntu:26.10

    Versions
    • 5.2.3-1
    • 5.3.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

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

    Versions
    • 5.2.0-1
    • 5.2.3-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →