Skip to main content
VulnerabilityPublished Updated

CVE-2026-72816: Golang github go chi chi: go-chi/chi through 5.2.1 contains an IP spoofing vulnerability in the

Affects golang-github-go-chi-chiSource GCVE Database

0
Compare
Authoritative record:CVE-2026-72816· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium · fixed in 5.3.0 : update golang-github-go-chi-chi when convenient.

Data as of 24 Nov 2026, 21:10 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 5.3.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSgolang-github-go-chi-chipkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=resoluteOther threatsAffected
  • =5.2.0-1
  • =5.2.3-1
Fixed in–
Ubuntu 24.04 LTSgolang-github-go-chi-chipkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=nobleOther threatsAffected
  • =5.0.7-1
Fixed in–
Ubuntu 22.04 LTSgolang-github-go-chi-chipkg:deb/ubuntu/golang-github-go-chi-chi?arch=source&distro=jammyOther threatsAffected
  • =1.5.1-2
  • =5.0.7-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

go-chi/chi through 5.2.1 contains an IP spoofing vulnerability in the RealIP middleware (middleware/realip.go). The realIP() function reads client-controlled headers (True-Client-IP, X-Real-IP, and X-Forwarded-For) and overwrites r.RemoteAddr without verifying that the request originated from a trusted proxy. Attackers can supply arbitrary IP addresses in these headers to bypass IP-based access controls, evade rate limiting and geo-IP restrictions, and pollute audit logs. Fixed in 5.3.0.

References

Community reviews

Loading reviews…