Security mailing lists by PureSourceCode

CVE-2026-72815

MEDIUM 6.9CVSS 4.0

chi Has an IP Spoofing Vulnerability in `middleware.RealIP`

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.

Published
14 Aug 2026
Last modified
4 Nov 2026
Assigned by
disclosure@vulncheck.com
NVD status
Deferred
Weakness
CWE-290CWE-345
Also known as
GHSA-3fxj-6jh8-hvhxGO-2026-5774
Sources
NVDJSONOSV GHSA-3fxj-6jh8-hvhxJSONOSV GO-2026-5774JSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 MEDIUM 6.9 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/go-chi/chi/v5/middleware >= 5.2.1, < 5.3.0 5.3.0
OSV Go github.com/go-chi/chi/v5 >= 5.2.1, < 5.3.0 5.3.0

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 14 Aug 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jul 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.