CVE-2026-114437: CWE-348 Use of Less Trusted Source in go-chi chi
Description
CVE-2026-114437 is a medium severity vulnerability in the Golang Chi web framework affecting versions before 5.4.0. The ClientIPFromXFF middleware improperly trusts X-Forwarded-For headers without verifying that the direct TCP peer address belongs to a trusted CIDR. This allows a client connecting directly to the server to spoof the client IP by appending a trusted proxy address in the header.
CVSS v3.1
Score 4.8medium
Affected software
go-chi
chi
pkg:golang/github.com/go-chi/chi/v5Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Golang Chi web framework's ClientIPFromXFF middleware is vulnerable because it skips any X-Forwarded-For entries from configured trusted CIDRs but does not verify that the actual TCP connection's remote address is within those CIDRs. Consequently, an attacker who can connect directly to the server can insert a trusted proxy IP in the X-Forwarded-For header and influence the client IP returned by middleware.GetClientIP. This vulnerability affects all chi versions prior to 5.4.0.
Potential Impact
An attacker able to connect directly to the Go server can spoof the client IP address by injecting a trusted proxy IP in the X-Forwarded-For header. This may lead to incorrect client IP identification, potentially impacting access control, logging, or rate limiting that relies on accurate client IP information. The CVSS score is 4.8 (medium severity), indicating limited confidentiality and integrity impact and no availability impact.
Mitigation Recommendations
A fixed version is available starting from chi 5.4.0. Users should upgrade to version 5.4.0 or later to address this vulnerability. No other vendor advisory or patch information is provided, so check the official go-chi project resources for the patch and further guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- tenable
- Date Reserved
- 2026-10-21T13:42:40.246Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ad8c5a44d27ba8daab0d96a
Added to database: 10/21/2026, 14:01:08 UTC
Last enriched: 10/21/2026, 14:16:16 UTC
Last updated: 10/21/2026, 14:16:16 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.