PatchSiren cyber security CVE debrief
CVE-2026-72817 go-chi CVE debrief
A vulnerability in go-chi/chi versions 0.9.0 before 5.3.0 allows for IP spoofing via the X-Forwarded-For header, potentially bypassing access controls or falsifying request logs. This issue arises from the RealIP middleware resolving the request source IP using the first IP in the X-Forwarded-For header without validating trusted proxies. The vulnerability could allow malicious clients to prepend forged IPs, potentially leading to unauthorized access or falsified logs. Defenders should assess their exposure, prioritize remediation, and ensure proper configuration of the RealIP middleware.
- Vendor
- go-chi
- Product
- chi
- CVSS
- MEDIUM 6.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-14
- Original CVE updated
- 2026-09-09
- Advisory published
- 2026-08-14
- Advisory updated
- 2026-09-09
Who should care
Defenders responsible for systems using the go-chi/chi library, particularly those relying on IP-based access controls or request logging, should assess their exposure to this vulnerability and take appropriate remediation steps.
Why it matters
The CVE-2026-72817 vulnerability in go-chi/chi allows for IP spoofing and potential bypass of access controls or falsification of request logs. Defenders should verify their system's exposure, prioritize remediation, and ensure proper configuration of the RealIP middleware to prevent exploitation.
- IP spoofing could allow unauthorized access to systems or services.
- Falsified request logs could hinder incident response and forensic analysis.
- Defenders need to verify the version of go-chi/chi in use and ensure proper configuration of the RealIP middleware.
- Remediation priority is moderate due to the potential for IP spoofing and log falsification.
Technical summary
The go-chi/chi library, used for building HTTP routers in Go, contains a vulnerability in versions 0.9.0 before 5.3.0. The RealIP middleware, which is designed to resolve the client's real IP address from the X-Forwarded-For header, does not properly validate trusted proxies. This allows a malicious client to spoof their IP address by prepending a forged IP to the X-Forwarded-For header, potentially bypassing IP-based access controls or falsifying request logs.
Defensive priority
Defenders should prioritize verifying the use of go-chi/chi version 5.3.0 or later and assess the configuration of the RealIP middleware to prevent IP spoofing.
Recommended defensive actions
- Verify the version of go-chi/chi in use and upgrade to version 5.3.0 or later if necessary.
- Assess the configuration of the RealIP middleware to ensure proper validation of trusted proxies.
- Review access controls and request logs for potential anomalies that could indicate IP spoofing.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
- 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.
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, including its description and CVSS score. However, additional information on exploitation or affected systems is limited. Defenders should verify the version of go-chi/chi in use, assess the configuration of the RealIP middleware, and review access controls and request logs for potential anomalies. The lack of detailed information on affected systems or exploitation attempts makes it crucial for defenders to take proactive steps to verify their system's exposure.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-72817 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-72817
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-72817 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-72817
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/go-chi/chi/security/advisories/GHSA-9g5q-2w5x-hmxf
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-x-forwarded-for
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.