CVE-2026-72815: Authentication Bypass by Spoofing in go-chi chi
go-chi chi versions >= 5.2.1 and before 5.3.0 contain an IP spoofing vulnerability in the RealIP middleware, which blindly trusts the first (leftmost) value of the X-Forwarded-For HTTP header. A remote attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, by supplying a spoofed IP address in the X-Forwarded-For header. The issue is fixed in version 5.3.0.
AI Analysis
Technical Summary
The go-chi chi package versions 5.2.1 and before 5.3.0 have an IP spoofing vulnerability in the RealIP middleware. The middleware blindly trusts the first (leftmost) value of the X-Forwarded-For HTTP header, which can be manipulated by a remote attacker to spoof their IP address. This enables bypassing IP-based access control lists and rate-limiting mechanisms, as well as forging log entries. The issue is resolved in version 5.3.0.
Potential Impact
An attacker can bypass IP-based access controls and rate limiting by supplying a spoofed IP address in the X-Forwarded-For header. This can lead to unauthorized access or evasion of restrictions based on IP address. Additionally, log entries can be forged, potentially misleading forensic analysis or monitoring.
Mitigation Recommendations
Upgrade to go-chi chi version 5.3.0 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are indicated.
CVE-2026-72815: Authentication Bypass by Spoofing in go-chi chi
Description
go-chi chi versions >= 5.2.1 and before 5.3.0 contain an IP spoofing vulnerability in the RealIP middleware, which blindly trusts the first (leftmost) value of the X-Forwarded-For HTTP header. A remote attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, by supplying a spoofed IP address in the X-Forwarded-For header. The issue is fixed in version 5.3.0.
CVSS v4.0
Score 6.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The go-chi chi package versions 5.2.1 and before 5.3.0 have an IP spoofing vulnerability in the RealIP middleware. The middleware blindly trusts the first (leftmost) value of the X-Forwarded-For HTTP header, which can be manipulated by a remote attacker to spoof their IP address. This enables bypassing IP-based access control lists and rate-limiting mechanisms, as well as forging log entries. The issue is resolved in version 5.3.0.
Potential Impact
An attacker can bypass IP-based access controls and rate limiting by supplying a spoofed IP address in the X-Forwarded-For header. This can lead to unauthorized access or evasion of restrictions based on IP address. Additionally, log entries can be forged, potentially misleading forensic analysis or monitoring.
Mitigation Recommendations
Upgrade to go-chi chi version 5.3.0 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-10T15:12:16.754Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7f0282bf8831d539fec764
Added to database: 08/14/2026, 11:56:50 UTC
Last enriched: 08/14/2026, 12:13:30 UTC
Last updated: 08/14/2026, 16:56:20 UTC
Views: 5
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.