CVE-2026-114437
Deferred Deferred - Pending Action

Chi Framework ClientIPFromXFF Trusted CIDR Bypass

Vulnerability report for CVE-2026-114437, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-21

Last updated on: 2026-10-21

Assigner: Tenable Network Security, Inc.

Description

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-21
Last Modified
2026-10-21
Generated
2026-11-10
AI Q&A
2026-10-21
EPSS Evaluated
2026-11-09
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
go-chi chi 0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-348 The product has two different sources of the same data or information, but it uses the source that has less support for verification, is less trusted, or is less resistant to attack.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a client IP spoofing vulnerability in the Golang Chi web framework's ClientIPFromXFF middleware. It fails to verify that the direct TCP peer in http.Request.RemoteAddr belongs to a trusted CIDR range before trusting X-Forwarded-For headers. An attacker who can directly reach the Go server can append a trusted-looking proxy address and manipulate the client IP returned by middleware.GetClientIP.

Detection Guidance

To detect this vulnerability, inspect your Go applications using the Chi framework for versions prior to 5.4.0. Check if the ClientIPFromXFF middleware is enabled and review HTTP request logs for suspicious X-Forwarded-For headers containing trusted proxy IPs. Use commands like 'go list -m all' to check Chi versions and 'grep -r ClientIPFromXFF' to find middleware usage.

Impact Analysis

An attacker could bypass IP-based access controls by spoofing a trusted client IP. This may lead to unauthorized access to protected endpoints, allowing the attacker to impersonate legitimate users or systems. The attack requires no authentication or user interaction.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by allowing IP spoofing, which may undermine IP-based access controls or logging mechanisms that rely on accurate client IP identification. Unauthorized access to protected endpoints could lead to data breaches or improper access to sensitive information.

Mitigation Strategies

Immediately upgrade the Chi framework to version 5.4.0 or later. If upgrading is not possible, disable the ClientIPFromXFF middleware or implement custom IP validation to verify RemoteAddr against trusted CIDR ranges before trusting X-Forwarded-For headers.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-114437. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...