Skip to main content
CVE-2026-72817VulnerabilityPublished Updated

Golang github go chi chi: go-chi/chi versions 0.9.0 before 5.3.0 contains an IP spoofing vulnerability in the RealIP

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

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

Not known to be exploited · CVSS 6.9 Medium.

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.
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 versions 0.9.0 before 5.3.0 contains an IP spoofing vulnerability in the RealIP middleware, which resolves the request source IP (Request.RemoteAddr) using the first IP in the X-Forwarded-For header without validating trusted proxies. A malicious client can prepend a forged IP as the first value of the X-Forwarded-For header to spoof the request source IP, potentially bypassing access controls or falsifying request logs.

References

Community reviews

Loading reviews…