PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-114437 go-chi CVE debrief

CVE-2026-114437 is a remote client IP spoofing vulnerability in the Go `chi` package's `ClientIPFromXFF` function via the `X-Forwarded-For` header. An attacker can send an unauthenticated HTTP request to change security decisions and expose a protected handler within the same application. This vulnerability allows an attacker to append a trusted-looking proxy address and choose the client IP returned by `middleware.GetClientIP`. The attack requires one unauthenticated HTTP request with no user interaction and no availability loss was observed.

Vendor
go-chi
Product
github.com/go-chi/chi/v5
CVSS
MEDIUM 4.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-23
Original CVE updated
2026-10-23
Advisory published
2026-10-23
Advisory updated
2026-10-23

Who should care

Defenders of applications using the `chi` package, specifically those using `ClientIPFromXFF` and making the origin server reachable by anonymous clients outside the configured trusted-proxy CIDRs, should assess exposure and prioritize verification and remediation.

Why it matters

CVE-2026-114437 is a remote client IP spoofing vulnerability in the Go `chi` package's `ClientIPFromXFF` function via the `X-Forwarded-For` header. Defenders should prioritize verifying the use of `ClientIPFromXFF` and ensuring the origin server is not reachable by anonymous clients outside the configured trusted-proxy CIDRs.

  • An attacker can change security decisions and expose a protected handler within the same application.
  • The attack requires one unauthenticated HTTP request with no user interaction.
  • No availability loss was observed.

Technical summary

The `ClientIPFromXFF` function in the Go `chi` package 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. This allows a client that can reach the Go server directly to append a trusted-looking proxy address and choose the client IP returned by `middleware.GetClientIP`. The vulnerability allows an attacker to change security decisions and expose a protected handler within the same application. Defenders should prioritize verifying the use of `ClientIPFromXFF` and ensuring the origin server is not reachable by anonymous clients outside the configured trusted-proxy CIDRs.

Defensive priority

Defenders should prioritize verifying the use of `ClientIPFromXFF` and ensuring the origin server is not reachable by anonymous clients outside the configured trusted-proxy CIDRs.

Recommended defensive actions

  • Verify the use of `ClientIPFromXFF` in the application and ensure the origin server is not reachable by anonymous clients outside the configured trusted-proxy CIDRs.
  • Update to version 5.4.0 or later of the `github.com/go-chi/chi/v5` package.
  • Monitor for unusual traffic patterns or security decision changes within the application.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The vulnerability allows an attacker to append a trusted-looking proxy address and choose the client IP returned by `middleware.GetClientIP`. This requires one unauthenticated HTTP request with no user interaction.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-114437 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-114437

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-114437 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-114437

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • chi: Client IP spoofing in ClientIPFromXFF via X-Forwarded-For

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/Go/GHSA-j6qf-3m9c-vwj3.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-chi/chi/security/advisories/GHSA-j6qf-3m9c-vwj3

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-chi/chi/pull/1214

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-chi/chi/commit/7f9b7448f51d28804fac98c0a17bc2a7cec1079f

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-chi/chi

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-chi/chi/releases/tag/v5.4.0

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://www.tenable.com/security/research/tra-2026-66

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.