Bug 2518052 - CVE-2026-72815 forgejo: go-chi chi: IP spoofing via X-Forwarded-For header allows bypass of access controls [fedora-all]
Summary: CVE-2026-72815 forgejo: go-chi chi: IP spoofing via X-Forwarded-For header al...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: forgejo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact:
URL:
Whiteboard: {"flaws": ["8fb97718-ab21-44cf-bd21-7...
Depends On:
Blocks: CVE-2026-72815
TreeView+ depends on / blocked
 
Reported: 2026-08-18 16:41 UTC by Joel Chamberlain
Modified: 2026-08-18 16:41 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joel Chamberlain 2026-08-18 16:41:47 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.