
CVE catalog
CVE-2026-72816
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-
- Severity
- Medium · CVSS 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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.30% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-github-go-chi-chi | sid | 5.3.0-1 | fixed |
| Debian | golang-github-go-chi-chi | forky | 5.3.0-1 | fixed |
| Debian | golang-github-go-chi-chi | trixie | 5.2.0-1 | vulnerable |
| Debian | golang-github-go-chi-chi | bookworm | 5.0.7-1 | vulnerable |
| Ubuntu | golang-github-go-chi-chi | 22.04 | 1.5.1-2 | vulnerable |
| Ubuntu | golang-github-go-chi-chi | 22.04 | 5.0.7-1 | vulnerable |
| Ubuntu | golang-github-go-chi-chi | 24.04 | 5.0.7-1 | vulnerable |
| Ubuntu | golang-github-go-chi-chi | 26.04 | 5.2.0-1 | vulnerable |
| Ubuntu | golang-github-go-chi-chi | 26.04 | 5.2.3-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-github-go-chi-chi | source | sid | 5.3.0-1 | not yet assigned | Not reported | Not reported |
| Debian | golang-github-go-chi-chi | source | forky | 5.3.0-1 | not yet assigned | Not reported | Not reported |
| Debian | golang-github-go-chi-chi | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | golang-github-go-chi-chi | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
Notes
[trixie] golang-github-go-chi-chi: Minor issue [bookworm] golang-github-go-chi-chi: Minor issue; out of LTS support
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [golang-github-go-chi-chi-dev]Affected
Source package: [golang-github-go-chi-chi]
Details (2)
5.0.7-1· all · bookwormAffected
nvd · golang-github-go-chi-chi · debian · bookworm; nvd · golang-github-go-chi-chi · debian · 12
5.0.7-1· all · bookwormAffected
nvd · golang-github-go-chi-chi · debian · bookworm; nvd · golang-github-go-chi-chi · debian · 12
[Debian 13 (Trixie)]
- [golang-github-go-chi-chi-dev]Affected
Source package: [golang-github-go-chi-chi]
Details (2)
5.2.0-1· all · trixieAffected
nvd · golang-github-go-chi-chi · debian · 13
5.2.0-1· all · trixieAffected
nvd · golang-github-go-chi-chi · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_21645-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-72816]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-72816]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-72816]
- [https://security-tracker.debian.org/tracker/CVE-2026-72816]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72816.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]