Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-72815— go-chi chi v5.2.1 IP Spoofing via X-Forwarded-For Header

Quick assessment

Affected
go-chi chi
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

go-chi chi是go-chi组织开源的一个轻量级、符合 Go 语言习惯且可组合的路由工具。 go-chi chi 5.2.1版本至5.3.0之前版本存在授权问题漏洞,该漏洞源于RealIP中间件盲目信任X-Forwarded-For HTTP标头的第一个值,可能导致远程攻击者绕过基于IP的访问控制列表和速率限制机制,并伪造日志条目。

CVSS 6.9 · Medium EPSS 0.50% · P41

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
go-chi chi 5.2.1< 5.3.0 affected
5.3.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-72815

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
go-chi chi v5.2.1 IP Spoofing via X-Forwarded-For Header
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
使用欺骗进行的认证绕过
Source: CVE Program / CVE List V5
Vulnerability Title
go-chi chi 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
go-chi chi是go-chi组织开源的一个轻量级、符合 Go 语言习惯且可组合的路由工具。 go-chi chi 5.2.1版本至5.3.0之前版本存在授权问题漏洞,该漏洞源于RealIP中间件盲目信任X-Forwarded-For HTTP标头的第一个值,可能导致远程攻击者绕过基于IP的访问控制列表和速率限制机制,并伪造日志条目。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
go-chi chi 5.2.1 ~ 5.3.0 -

II. Public POCs for CVE-2026-72815

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-72815

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-72815 (2)

Same Patch Batch · go-chi · 2026-08-14 · 4 CVEs total

CVE-2026-72817 6.5 MEDIUM go-chi chi 0.9.0 before 5.3.0 IP Spoofing via X-Forwarded-For
CVE-2026-72816 6.5 MEDIUM go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware
CVE-2025-71405 5.1 MEDIUM go-chi chi before v5.2.2 Open Redirect via RedirectSlashes

IV. Related Vulnerabilities

V. Comments for CVE-2026-72815

No comments yet


Leave a comment