golang-github-go-chi-chi — security advisory
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.
- Products
- golang-github-go-chi-chi
- Affected versions
- 5.0.7-1, 5.1.0-1, 5.2.0-1, 5.2.3-1, 5.2.5-1, 5.3.0-1
- Fixed versions
- 5.3.0-1
- CVEs
- CVE-2026-72817
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 11:08 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2026-72817
golang-github-go-chi-chi
Fixed versions: Not specified
golang-github-go-chi-chi
Fixed versions: Not specified
golang-github-go-chi-chi
Fixed versions: 5.3.0-1
Complete source record
{
"id": "24766f0d65ed435e7929424a6e1d81890d882f0096e0cd97a6336423472fb55b",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-72817",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-72817",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-72817",
"products": [
{
"name": {
"value": "golang-github-go-chi-chi",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.0.7-1",
"evidence": "/affected/0/versions"
},
{
"value": "5.1.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "5.2.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "5.2.3-1",
"evidence": "/affected/0/versions"
},
{
"value": "5.2.5-1",
"evidence": "/affected/0/versions"
},
{
"value": "5.3.0-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "golang-github-go-chi-chi",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.2.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "5.2.3-1",
"evidence": "/affected/1/versions"
},
{
"value": "5.2.5-1",
"evidence": "/affected/1/versions"
},
{
"value": "5.3.0-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "golang-github-go-chi-chi",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.3.0-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "5.2.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "5.2.3-1",
"evidence": "/affected/2/versions"
},
{
"value": "5.2.5-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2026-72817",
"aliases": [
"DEBIAN-CVE-2026-72817"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-go-chi-chi",
"purl": "pkg:deb/debian/golang-github-go-chi-chi?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"5.0.7-1",
"5.1.0-1",
"5.2.0-1",
"5.2.3-1",
"5.2.5-1",
"5.3.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-72817.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-go-chi-chi",
"purl": "pkg:deb/debian/golang-github-go-chi-chi?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"5.2.0-1",
"5.2.3-1",
"5.2.5-1",
"5.3.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-72817.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.3.0-1"
}
]
}
],
"package": {
"name": "golang-github-go-chi-chi",
"purl": "pkg:deb/debian/golang-github-go-chi-chi?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"5.2.0-1",
"5.2.3-1",
"5.2.5-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-72817.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-09T09:47:33.429288100Z",
"provider": "osv",
"upstream": [
"CVE-2026-72817"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-72817"
]
},
"related_cves": [
{
"value": "CVE-2026-72817",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 111646,
"published_at": "2026-08-14T12:16:44.747+00:00"
}