Action not permitted
Modal body text goes here.
Modal Title
Modal Body
CVE-2026-72816 (GCVE-0-2026-72816)
Vulnerability from cvelistv5 – Published: 2026-08-14 11:35 – Updated: 2026-08-14 15:22- CWE-290 - Authentication Bypass by Spoofing
| URL | Tags |
|---|---|
| https://github.com/go-chi/chi/security/advisories… | vendor-advisory |
| https://www.vulncheck.com/advisories/go-chi-chi-b… | third-party-advisory |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-72816",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-14T15:21:50.655188Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-14T15:22:35.592Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:golang/https://github.com/go-chi/chi",
"product": "chi",
"vendor": "go-chi",
"versions": [
{
"lessThan": "5.3.0",
"status": "affected",
"version": "0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.3.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "rezmoss"
}
],
"datePublic": "2026-05-22T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 6.9,
"baseSeverity": "MEDIUM",
"exploitMaturity": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-290",
"description": "Authentication Bypass by Spoofing",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-14T11:35:28.145Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"name": "GitHub Security Advisory (GHSA-rjr7-jggh-pgcp)",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp"
},
{
"name": "VulnCheck Advisory: go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware"
}
],
"title": "go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-72816",
"datePublished": "2026-08-14T11:35:28.145Z",
"dateReserved": "2026-08-10T15:12:16.754Z",
"dateUpdated": "2026-08-14T15:22:35.592Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-72816",
"date": "2026-08-21",
"epss": "0.00219",
"percentile": "0.12669"
},
"microsoft_vex": {
"current_release_date": "2026-08-20T22:02:08.000Z",
"cve": "CVE-2026-72816",
"id": "msrc_CVE-2026-72816",
"initial_release_date": "2026-08-20T22:02:08.000Z",
"product_status:known_affected": "2",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-72816.json",
"version": "1"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-72816\",\"sourceIdentifier\":\"disclosure@vulncheck.com\",\"published\":\"2026-08-14T12:16:44.620\",\"lastModified\":\"2026-08-14T16:16:59.857\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"}],\"affected\":[{\"source\":\"disclosure@vulncheck.com\",\"affectedData\":[{\"vendor\":\"go-chi\",\"product\":\"chi\",\"defaultStatus\":\"unaffected\",\"packageURL\":\"pkg:golang/https://github.com/go-chi/chi\",\"versions\":[{\"version\":\"0\",\"lessThan\":\"5.3.0\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.3.0\",\"versionType\":\"semver\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"disclosure@vulncheck.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"vectorString\":\"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\",\"baseScore\":6.9,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"NONE\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"vulnConfidentialityImpact\":\"LOW\",\"vulnIntegrityImpact\":\"LOW\",\"vulnAvailabilityImpact\":\"NONE\",\"subConfidentialityImpact\":\"NONE\",\"subIntegrityImpact\":\"NONE\",\"subAvailabilityImpact\":\"NONE\",\"exploitMaturity\":\"NOT_DEFINED\",\"confidentialityRequirement\":\"NOT_DEFINED\",\"integrityRequirement\":\"NOT_DEFINED\",\"availabilityRequirement\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedVulnIntegrityImpact\":\"NOT_DEFINED\",\"modifiedVulnAvailabilityImpact\":\"NOT_DEFINED\",\"modifiedSubConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedSubIntegrityImpact\":\"NOT_DEFINED\",\"modifiedSubAvailabilityImpact\":\"NOT_DEFINED\",\"Safety\":\"NOT_DEFINED\",\"Automatable\":\"NOT_DEFINED\",\"Recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}],\"cvssMetricV31\":[{\"source\":\"disclosure@vulncheck.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N\",\"baseScore\":6.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":2.5}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-08-14T15:21:50.655188Z\",\"id\":\"CVE-2026-72816\",\"options\":[{\"exploitation\":\"poc\"},{\"automatable\":\"yes\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"disclosure@vulncheck.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-290\"}]}],\"references\":[{\"url\":\"https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp\",\"source\":\"disclosure@vulncheck.com\"},{\"url\":\"https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware\",\"source\":\"disclosure@vulncheck.com\"},{\"url\":\"https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp\",\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\"}]}}",
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-08-20T09:20:10+00:00",
"cve": "CVE-2026-72816",
"id": "CVE-2026-72816",
"initial_release_date": "2026-08-14T11:35:28.145000+00:00",
"product_status:fixed": "9",
"product_status:known_affected": "32",
"product_status:known_not_affected": "8",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "github.com/go-chi/chi: go-chi/chi: IP Spoofing via RealIP Middleware allows bypassing access controls",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72816.json",
"version": "3"
},
"vulnrichment": {
"containers": "{\"cna\": {\"providerMetadata\": {\"orgId\": \"83251b91-4cc7-4094-a5c7-464a1b83ea10\", \"shortName\": \"VulnCheck\", \"dateUpdated\": \"2026-08-14T11:35:28.145Z\"}, \"datePublic\": \"2026-05-22T00:00:00.000Z\", \"title\": \"go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"description\": \"Authentication Bypass by Spoofing\", \"cweId\": \"CWE-290\", \"type\": \"CWE\"}]}], \"affected\": [{\"vendor\": \"go-chi\", \"product\": \"chi\", \"defaultStatus\": \"unaffected\", \"packageURL\": \"pkg:golang/https://github.com/go-chi/chi\", \"versions\": [{\"version\": \"0\", \"status\": \"affected\", \"versionType\": \"semver\", \"lessThan\": \"5.3.0\"}, {\"version\": \"5.3.0\", \"status\": \"unaffected\", \"versionType\": \"semver\"}]}], \"metrics\": [{\"cvssV4_0\": {\"Automatable\": \"NOT_DEFINED\", \"Recovery\": \"NOT_DEFINED\", \"Safety\": \"NOT_DEFINED\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"NONE\", \"attackVector\": \"NETWORK\", \"baseScore\": 6.9, \"baseSeverity\": \"MEDIUM\", \"exploitMaturity\": \"NOT_DEFINED\", \"privilegesRequired\": \"NONE\", \"providerUrgency\": \"NOT_DEFINED\", \"subAvailabilityImpact\": \"NONE\", \"subConfidentialityImpact\": \"NONE\", \"subIntegrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"valueDensity\": \"NOT_DEFINED\", \"vectorString\": \"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\", \"version\": \"4.0\", \"vulnAvailabilityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"LOW\", \"vulnIntegrityImpact\": \"LOW\", \"vulnerabilityResponseEffort\": \"NOT_DEFINED\"}, \"format\": \"CVSS\"}, {\"cvssV3_1\": {\"attackComplexity\": \"LOW\", \"attackVector\": \"NETWORK\", \"availabilityImpact\": \"NONE\", \"baseScore\": 6.5, \"baseSeverity\": \"MEDIUM\", \"confidentialityImpact\": \"LOW\", \"integrityImpact\": \"LOW\", \"privilegesRequired\": \"NONE\", \"scope\": \"UNCHANGED\", \"userInteraction\": \"NONE\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N\", \"version\": \"3.1\"}, \"format\": \"CVSS\"}], \"references\": [{\"url\": \"https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp\", \"tags\": [\"vendor-advisory\"], \"name\": \"GitHub Security Advisory (GHSA-rjr7-jggh-pgcp)\"}, {\"name\": \"VulnCheck Advisory: go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware\", \"tags\": [\"third-party-advisory\"], \"url\": \"https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware\"}], \"credits\": [{\"lang\": \"en\", \"value\": \"rezmoss\", \"type\": \"reporter\"}], \"x_generator\": {\"engine\": \"vulncheck-endgame\"}}, \"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-72816\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-08-14T15:21:50.655188Z\"}}}], \"references\": [{\"url\": \"https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp\", \"tags\": [\"exploit\"]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-08-14T15:22:12.391Z\"}}]}",
"cveMetadata": "{\"cveId\": \"CVE-2026-72816\", \"assignerOrgId\": \"83251b91-4cc7-4094-a5c7-464a1b83ea10\", \"state\": \"PUBLISHED\", \"assignerShortName\": \"VulnCheck\", \"dateReserved\": \"2026-08-10T15:12:16.754Z\", \"datePublished\": \"2026-08-14T11:35:28.145Z\", \"dateUpdated\": \"2026-08-14T15:22:35.592Z\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
FKIE_CVE-2026-72816
Vulnerability from fkie_nvd - Published: 2026-08-14 12:16 - Updated: 2026-08-14 16:16| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:golang/https://github.com/go-chi/chi",
"product": "chi",
"vendor": "go-chi",
"versions": [
{
"lessThan": "5.3.0",
"status": "affected",
"version": "0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.3.0",
"versionType": "semver"
}
]
}
],
"source": "disclosure@vulncheck.com"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"id": "CVE-2026-72816",
"lastModified": "2026-08-14T16:16:59.857",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 2.5,
"source": "disclosure@vulncheck.com",
"type": "Secondary"
}
],
"cvssMetricV40": [
{
"cvssData": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"availabilityRequirement": "NOT_DEFINED",
"baseScore": 6.9,
"baseSeverity": "MEDIUM",
"confidentialityRequirement": "NOT_DEFINED",
"exploitMaturity": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"source": "disclosure@vulncheck.com",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-72816",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-14T15:21:50.655188Z",
"version": "2.0.3"
}
}
]
},
"published": "2026-08-14T12:16:44.620",
"references": [
{
"source": "disclosure@vulncheck.com",
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp"
},
{
"source": "disclosure@vulncheck.com",
"url": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware"
},
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp"
}
],
"sourceIdentifier": "disclosure@vulncheck.com",
"vulnStatus": "Received",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-290"
}
],
"source": "disclosure@vulncheck.com",
"type": "Secondary"
}
]
}
GHSA-XG24-PMHH-M4M9
Vulnerability from github – Published: 2026-08-14 12:31 – Updated: 2026-08-14 12:31go-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.
{
"affected": [],
"aliases": [
"CVE-2026-72816"
],
"database_specific": {
"cwe_ids": [
"CWE-290"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-08-14T12:16:44Z",
"severity": "MODERATE"
},
"details": "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.",
"id": "GHSA-xg24-pmhh-m4m9",
"modified": "2026-08-14T12:31:25Z",
"published": "2026-08-14T12:31:25Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72816"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"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",
"type": "CVSS_V4"
}
]
}
MSRC_CVE-2026-72816
Vulnerability from csaf_microsoft - Published: 2026-08-20 22:02 - Updated: 2026-08-20 22:02| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: 17084-1 | — |
None Available
|
|
| Unresolved product id: 17084-2 | — |
None Available
|
| URL | Category |
|---|---|
| https://msrc.microsoft.com/csaf/vex/2026/msrc_cve… | self |
| https://support.microsoft.com/lifecycle | external |
| https://www.first.org/cvss | external |
| https://msrc.microsoft.com/csaf/vex/2026/msrc_cve… | self |
{
"document": {
"category": "csaf_vex",
"csaf_version": "2.0",
"distribution": {
"text": "Public",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en-US",
"notes": [
{
"category": "general",
"text": "To determine the support lifecycle for your software, see the Microsoft Support Lifecycle: https://support.microsoft.com/lifecycle",
"title": "Additional Resources"
},
{
"category": "legal_disclaimer",
"text": "The information provided in the Microsoft Knowledge Base is provided \\\"as is\\\" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.",
"title": "Disclaimer"
}
],
"publisher": {
"category": "vendor",
"contact_details": "secure@microsoft.com",
"name": "Microsoft Security Response Center",
"namespace": "https://msrc.microsoft.com"
},
"references": [
{
"category": "self",
"summary": "CVE-2026-72816 go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware - VEX",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-72816.json"
},
{
"category": "external",
"summary": "Microsoft Support Lifecycle",
"url": "https://support.microsoft.com/lifecycle"
},
{
"category": "external",
"summary": "Common Vulnerability Scoring System",
"url": "https://www.first.org/cvss"
}
],
"title": "go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware",
"tracking": {
"current_release_date": "2026-08-20T22:02:08.000Z",
"generator": {
"date": "2026-08-21T01:08:20.741Z",
"engine": {
"name": "MSRC Generator",
"version": "1.0"
}
},
"id": "msrc_CVE-2026-72816",
"initial_release_date": "2026-08-20T22:02:08.000Z",
"revision_history": [
{
"date": "2026-08-20T22:02:08.000Z",
"legacy_version": "1",
"number": "1",
"summary": "Information published."
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "3.0",
"product": {
"name": "Azure Linux 3.0",
"product_id": "17084"
}
}
],
"category": "product_name",
"name": "Azure Linux"
},
{
"branches": [
{
"category": "product_version_range",
"name": "azl3 gh 0:2.62.0-20.azl3",
"product": {
"name": "azl3 gh 0:2.62.0-20.azl3",
"product_id": "1"
}
}
],
"category": "product_name",
"name": "gh"
},
{
"branches": [
{
"category": "product_version_range",
"name": "azl3 influxdb 0:2.7.5-19.azl3",
"product": {
"name": "azl3 influxdb 0:2.7.5-19.azl3",
"product_id": "2"
}
}
],
"category": "product_name",
"name": "influxdb"
}
],
"category": "vendor",
"name": "Microsoft"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "azl3 gh 0:2.62.0-20.azl3 as a component of Azure Linux 3.0",
"product_id": "17084-1"
},
"product_reference": "1",
"relates_to_product_reference": "17084"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "azl3 influxdb 0:2.7.5-19.azl3 as a component of Azure Linux 3.0",
"product_id": "17084-2"
},
"product_reference": "2",
"relates_to_product_reference": "17084"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-72816",
"cwe": {
"id": "CWE-290",
"name": "Authentication Bypass by Spoofing"
},
"notes": [
{
"category": "general",
"text": "VulnCheck",
"title": "Assigning CNA"
}
],
"product_status": {
"known_affected": [
"17084-1",
"17084-2"
]
},
"references": [
{
"category": "self",
"summary": "CVE-2026-72816 go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware - VEX",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-72816.json"
}
],
"remediations": [
{
"category": "none_available",
"date": "2026-08-20T22:02:08.000Z",
"details": "There is no fix available for this vulnerability as of now",
"product_ids": [
"17084-1"
]
},
{
"category": "none_available",
"date": "2026-08-20T22:02:08.000Z",
"details": "There is no fix available for this vulnerability as of now",
"product_ids": [
"17084-2"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"temporalScore": 6.5,
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"products": [
"17084-1",
"17084-2"
]
}
],
"title": "go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware"
}
]
}
RHSA-2026:49718
Vulnerability from csaf_redhat - Published: 2026-08-03 16:54 - Updated: 2026-08-20 11:27A flaw was found in the `go-chi chi` RealIP middleware. This vulnerability allows a remote attacker to spoof their IP address by manipulating the `X-Forwarded-For` HTTP header. By exploiting this, an attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, potentially leading to unauthorized access or misattribution of actions.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:spire1-14-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:spire1-14-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:spire1-14-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
A flaw was found in the go-chi/chi RealIP middleware. This vulnerability allows a remote attacker to perform IP spoofing by supplying arbitrary IP addresses in client-controlled headers. This can lead to bypassing IP-based access controls, evading rate limiting and geo-IP restrictions, and polluting audit logs.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:spire1-14-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:spire1-14-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:spire1-14-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
A flaw was found in the `go-chi/chi` component. The RealIP middleware, responsible for resolving the request source IP, does not properly validate trusted proxies when processing the `X-Forwarded-For` header. A remote attacker can exploit this by prepending a forged IP address to the `X-Forwarded-For` header, leading to IP spoofing. This could allow the attacker to bypass access controls or falsify request logs.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:spire1-14-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:spire1-14-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:spire1-14-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for Red Hat Hardened Images RPMs is now available.",
"title": "Topic"
},
{
"category": "general",
"text": "This update includes the following RPMs:\n\nspire1.14:\n * spire1.14-1.14.7-0.4.hum1 (aarch64, x86_64)\n * spire1.14-agent-1.14.7-0.4.hum1 (aarch64, x86_64)\n * spire1.14-oidc-discovery-provider-1.14.7-0.4.hum1 (aarch64, x86_64)\n * spire1.14-server-1.14.7-0.4.hum1 (aarch64, x86_64)\n * spire1.14-1.14.7-0.4.hum1.src (src)",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2026:49718",
"url": "https://access.redhat.com/errata/RHSA-2026:49718"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-72816",
"url": "https://access.redhat.com/security/cve/CVE-2026-72816"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-72817",
"url": "https://access.redhat.com/security/cve/CVE-2026-72817"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-72815",
"url": "https://access.redhat.com/security/cve/CVE-2026-72815"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_49718.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
"tracking": {
"current_release_date": "2026-08-20T11:27:53+00:00",
"generator": {
"date": "2026-08-20T11:27:53+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.3.16"
}
},
"id": "RHSA-2026:49718",
"initial_release_date": "2026-08-03T16:54:21+00:00",
"revision_history": [
{
"date": "2026-08-03T16:54:21+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-08-19T18:42:24+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-08-20T11:27:53+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Hardened Images",
"product": {
"name": "Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:hummingbird:1"
}
}
}
],
"category": "product_family",
"name": "Red Hat Hardened Images"
},
{
"branches": [
{
"category": "product_version",
"name": "spire1-14-main@aarch64",
"product": {
"name": "spire1-14-main@aarch64",
"product_id": "spire1-14-main@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/spire1.14@1.14.7-0.4.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "spire1-14-main@src",
"product": {
"name": "spire1-14-main@src",
"product_id": "spire1-14-main@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/spire1.14@1.14.7-0.4.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "spire1-14-main@x86_64",
"product": {
"name": "spire1-14-main@x86_64",
"product_id": "spire1-14-main@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/spire1.14@1.14.7-0.4.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "x86_64"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "spire1-14-main@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:spire1-14-main@aarch64"
},
"product_reference": "spire1-14-main@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "spire1-14-main@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:spire1-14-main@src"
},
"product_reference": "spire1-14-main@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "spire1-14-main@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:spire1-14-main@x86_64"
},
"product_reference": "spire1-14-main@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-72815",
"cwe": {
"id": "CWE-940",
"name": "Improper Verification of Source of a Communication Channel"
},
"discovery_date": "2026-08-14T11:51:50.442442+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2515988"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in the `go-chi chi` RealIP middleware. This vulnerability allows a remote attacker to spoof their IP address by manipulating the `X-Forwarded-For` HTTP header. By exploiting this, an attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, potentially leading to unauthorized access or misattribution of actions.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "github.com/go-chi/chi/middleware: go-chi chi: IP spoofing via X-Forwarded-For header allows bypass of access controls",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "An IP spoofing flaw exists in go-chi/chi\u0027s RealIP middleware. When parsing incoming HTTP requests, the middleware blindly trusts the leftmost IP address in the X-Forwarded-For header without verifying proxy chain trust. Remote unauthenticated attackers can supply arbitrary client IP addresses to bypass IP-based access control lists (ACLs), evade rate-limiting rules, or forge audit trail logs, posing a Low impact to confidentiality and integrity.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:spire1-14-main@aarch64",
"Red Hat Hardened Images:spire1-14-main@src",
"Red Hat Hardened Images:spire1-14-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-72815"
},
{
"category": "external",
"summary": "RHBZ#2515988",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2515988"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-72815",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-72815"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-72815",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72815"
},
{
"category": "external",
"summary": "https://github.com/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx",
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx"
},
{
"category": "external",
"summary": "https://www.vulncheck.com/advisories/go-chi-chi-ip-spoofing-via-x-forwarded-for-header",
"url": "https://www.vulncheck.com/advisories/go-chi-chi-ip-spoofing-via-x-forwarded-for-header"
}
],
"release_date": "2026-08-14T11:35:27.496000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-08-03T16:54:21+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:spire1-14-main@aarch64",
"Red Hat Hardened Images:spire1-14-main@src",
"Red Hat Hardened Images:spire1-14-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:49718"
},
{
"category": "workaround",
"details": "Do not rely on the `RealIP` middleware when accepting connections from untrusted networks. Instead, configure an upstream reverse proxy (such as NGINX or HAProxy) to overwrite or sanitize client-supplied `X-Forwarded-For` headers before forwarding traffic to the application.",
"product_ids": [
"Red Hat Hardened Images:spire1-14-main@aarch64",
"Red Hat Hardened Images:spire1-14-main@src",
"Red Hat Hardened Images:spire1-14-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:spire1-14-main@aarch64",
"Red Hat Hardened Images:spire1-14-main@src",
"Red Hat Hardened Images:spire1-14-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "github.com/go-chi/chi/middleware: go-chi chi: IP spoofing via X-Forwarded-For header allows bypass of access controls"
},
{
"cve": "CVE-2026-72816",
"cwe": {
"id": "CWE-346",
"name": "Origin Validation Error"
},
"discovery_date": "2026-08-14T11:51:32.536396+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2515985"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in the go-chi/chi RealIP middleware. This vulnerability allows a remote attacker to perform IP spoofing by supplying arbitrary IP addresses in client-controlled headers. This can lead to bypassing IP-based access controls, evading rate limiting and geo-IP restrictions, and polluting audit logs.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "github.com/go-chi/chi: go-chi/chi: IP Spoofing via RealIP Middleware allows bypassing access controls",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "An IP spoofing flaw exists in go-chi/chi\u0027s RealIP middleware (middleware/realip.go). The realIP() function parses untrusted HTTP headers (True-Client-IP, X-Real-IP, X-Forwarded-For) and overwrites r.RemoteAddr without validating upstream proxy identity. Remote unauthenticated attackers can supply arbitrary IP values in these headers to bypass IP-restricted endpoints, subvert rate-limiting controls, or poison application audit logs, posing a Low impact to confidentiality and integrity.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:spire1-14-main@aarch64",
"Red Hat Hardened Images:spire1-14-main@src",
"Red Hat Hardened Images:spire1-14-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-72816"
},
{
"category": "external",
"summary": "RHBZ#2515985",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2515985"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-72816",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-72816"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-72816",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72816"
},
{
"category": "external",
"summary": "https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp",
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp"
},
{
"category": "external",
"summary": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware",
"url": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware"
}
],
"release_date": "2026-08-14T11:35:28.145000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-08-03T16:54:21+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:spire1-14-main@aarch64",
"Red Hat Hardened Images:spire1-14-main@src",
"Red Hat Hardened Images:spire1-14-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:49718"
},
{
"category": "workaround",
"details": "Do not use the `chi/middleware.RealIP` middleware when receiving traffic directly from untrusted networks or unverified proxies. Instead, strip or sanitize client-supplied forwarding headers at an upstream edge proxy or reverse proxy (such as NGINX or HAProxy) before requests reach the application.",
"product_ids": [
"Red Hat Hardened Images:spire1-14-main@aarch64",
"Red Hat Hardened Images:spire1-14-main@src",
"Red Hat Hardened Images:spire1-14-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:spire1-14-main@aarch64",
"Red Hat Hardened Images:spire1-14-main@src",
"Red Hat Hardened Images:spire1-14-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "github.com/go-chi/chi: go-chi/chi: IP Spoofing via RealIP Middleware allows bypassing access controls"
},
{
"cve": "CVE-2026-72817",
"cwe": {
"id": "CWE-501",
"name": "Trust Boundary Violation"
},
"discovery_date": "2026-08-14T11:54:03.312526+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2516008"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in the `go-chi/chi` component. The RealIP middleware, responsible for resolving the request source IP, does not properly validate trusted proxies when processing the `X-Forwarded-For` header. A remote attacker can exploit this by prepending a forged IP address to the `X-Forwarded-For` header, leading to IP spoofing. This could allow the attacker to bypass access controls or falsify request logs.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "github.com/go-chi/chi/middleware: go-chi/chi: IP spoofing via X-Forwarded-For header manipulation",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "A flaw in the go-chi/chi RealIP middleware allows remote attackers to spoof source IP addresses (`Request.RemoteAddr`). The middleware parses the first IP address in the `X-Forwarded-For` header without verifying if the immediate HTTP proxy peer is trusted. An unauthenticated attacker can prepend an arbitrary IP address to the `X-Forwarded-For` header, causing applications relying on `RealIP` for request context to misidentify the client source. This enables bypassing application-level IP-based access control lists (ACLs) or spoofing identity in audit logs.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:spire1-14-main@aarch64",
"Red Hat Hardened Images:spire1-14-main@src",
"Red Hat Hardened Images:spire1-14-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-72817"
},
{
"category": "external",
"summary": "RHBZ#2516008",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2516008"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-72817",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-72817"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-72817",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72817"
},
{
"category": "external",
"summary": "https://github.com/go-chi/chi/security/advisories/GHSA-9g5q-2w5x-hmxf",
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-9g5q-2w5x-hmxf"
},
{
"category": "external",
"summary": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-x-forwarded-for",
"url": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-x-forwarded-for"
}
],
"release_date": "2026-08-14T11:35:28.824000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-08-03T16:54:21+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:spire1-14-main@aarch64",
"Red Hat Hardened Images:spire1-14-main@src",
"Red Hat Hardened Images:spire1-14-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:49718"
},
{
"category": "workaround",
"details": "Disable the default `RealIP` middleware and replace it with a proxy-aware middleware (such as `httputil.ReverseProxy` or custom header parsing) that strictly validates upstream reverse proxies against an explicit list of trusted CIDR ranges before accepting `X-Forwarded-For` headers.",
"product_ids": [
"Red Hat Hardened Images:spire1-14-main@aarch64",
"Red Hat Hardened Images:spire1-14-main@src",
"Red Hat Hardened Images:spire1-14-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:spire1-14-main@aarch64",
"Red Hat Hardened Images:spire1-14-main@src",
"Red Hat Hardened Images:spire1-14-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "github.com/go-chi/chi/middleware: go-chi/chi: IP spoofing via X-Forwarded-For header manipulation"
}
]
}
RHSA-2026:49732
Vulnerability from csaf_redhat - Published: 2026-08-03 17:08 - Updated: 2026-08-20 11:27A flaw was found in the `go-chi chi` RealIP middleware. This vulnerability allows a remote attacker to spoof their IP address by manipulating the `X-Forwarded-For` HTTP header. By exploiting this, an attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, potentially leading to unauthorized access or misattribution of actions.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:spire1-15-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:spire1-15-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:spire1-15-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
A flaw was found in the go-chi/chi RealIP middleware. This vulnerability allows a remote attacker to perform IP spoofing by supplying arbitrary IP addresses in client-controlled headers. This can lead to bypassing IP-based access controls, evading rate limiting and geo-IP restrictions, and polluting audit logs.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:spire1-15-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:spire1-15-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:spire1-15-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
A flaw was found in the `go-chi/chi` component. The RealIP middleware, responsible for resolving the request source IP, does not properly validate trusted proxies when processing the `X-Forwarded-For` header. A remote attacker can exploit this by prepending a forged IP address to the `X-Forwarded-For` header, leading to IP spoofing. This could allow the attacker to bypass access controls or falsify request logs.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:spire1-15-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:spire1-15-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:spire1-15-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for Red Hat Hardened Images RPMs is now available.",
"title": "Topic"
},
{
"category": "general",
"text": "This update includes the following RPMs:\n\nspire1.15:\n * spire1.15-1.15.2-0.4.hum1 (aarch64, x86_64)\n * spire1.15-agent-1.15.2-0.4.hum1 (aarch64, x86_64)\n * spire1.15-oidc-discovery-provider-1.15.2-0.4.hum1 (aarch64, x86_64)\n * spire1.15-server-1.15.2-0.4.hum1 (aarch64, x86_64)\n * spire1.15-1.15.2-0.4.hum1.src (src)",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2026:49732",
"url": "https://access.redhat.com/errata/RHSA-2026:49732"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-72816",
"url": "https://access.redhat.com/security/cve/CVE-2026-72816"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-72817",
"url": "https://access.redhat.com/security/cve/CVE-2026-72817"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-72815",
"url": "https://access.redhat.com/security/cve/CVE-2026-72815"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_49732.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
"tracking": {
"current_release_date": "2026-08-20T11:27:58+00:00",
"generator": {
"date": "2026-08-20T11:27:58+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.3.16"
}
},
"id": "RHSA-2026:49732",
"initial_release_date": "2026-08-03T17:08:46+00:00",
"revision_history": [
{
"date": "2026-08-03T17:08:46+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-08-19T18:42:13+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-08-20T11:27:58+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Hardened Images",
"product": {
"name": "Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:hummingbird:1"
}
}
}
],
"category": "product_family",
"name": "Red Hat Hardened Images"
},
{
"branches": [
{
"category": "product_version",
"name": "spire1-15-main@aarch64",
"product": {
"name": "spire1-15-main@aarch64",
"product_id": "spire1-15-main@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/spire1.15@1.15.2-0.4.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "spire1-15-main@src",
"product": {
"name": "spire1-15-main@src",
"product_id": "spire1-15-main@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/spire1.15@1.15.2-0.4.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "spire1-15-main@x86_64",
"product": {
"name": "spire1-15-main@x86_64",
"product_id": "spire1-15-main@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/spire1.15@1.15.2-0.4.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "x86_64"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "spire1-15-main@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:spire1-15-main@aarch64"
},
"product_reference": "spire1-15-main@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "spire1-15-main@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:spire1-15-main@src"
},
"product_reference": "spire1-15-main@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "spire1-15-main@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:spire1-15-main@x86_64"
},
"product_reference": "spire1-15-main@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-72815",
"cwe": {
"id": "CWE-940",
"name": "Improper Verification of Source of a Communication Channel"
},
"discovery_date": "2026-08-14T11:51:50.442442+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2515988"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in the `go-chi chi` RealIP middleware. This vulnerability allows a remote attacker to spoof their IP address by manipulating the `X-Forwarded-For` HTTP header. By exploiting this, an attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, potentially leading to unauthorized access or misattribution of actions.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "github.com/go-chi/chi/middleware: go-chi chi: IP spoofing via X-Forwarded-For header allows bypass of access controls",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "An IP spoofing flaw exists in go-chi/chi\u0027s RealIP middleware. When parsing incoming HTTP requests, the middleware blindly trusts the leftmost IP address in the X-Forwarded-For header without verifying proxy chain trust. Remote unauthenticated attackers can supply arbitrary client IP addresses to bypass IP-based access control lists (ACLs), evade rate-limiting rules, or forge audit trail logs, posing a Low impact to confidentiality and integrity.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:spire1-15-main@aarch64",
"Red Hat Hardened Images:spire1-15-main@src",
"Red Hat Hardened Images:spire1-15-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-72815"
},
{
"category": "external",
"summary": "RHBZ#2515988",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2515988"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-72815",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-72815"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-72815",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72815"
},
{
"category": "external",
"summary": "https://github.com/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx",
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx"
},
{
"category": "external",
"summary": "https://www.vulncheck.com/advisories/go-chi-chi-ip-spoofing-via-x-forwarded-for-header",
"url": "https://www.vulncheck.com/advisories/go-chi-chi-ip-spoofing-via-x-forwarded-for-header"
}
],
"release_date": "2026-08-14T11:35:27.496000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-08-03T17:08:46+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:spire1-15-main@aarch64",
"Red Hat Hardened Images:spire1-15-main@src",
"Red Hat Hardened Images:spire1-15-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:49732"
},
{
"category": "workaround",
"details": "Do not rely on the `RealIP` middleware when accepting connections from untrusted networks. Instead, configure an upstream reverse proxy (such as NGINX or HAProxy) to overwrite or sanitize client-supplied `X-Forwarded-For` headers before forwarding traffic to the application.",
"product_ids": [
"Red Hat Hardened Images:spire1-15-main@aarch64",
"Red Hat Hardened Images:spire1-15-main@src",
"Red Hat Hardened Images:spire1-15-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:spire1-15-main@aarch64",
"Red Hat Hardened Images:spire1-15-main@src",
"Red Hat Hardened Images:spire1-15-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "github.com/go-chi/chi/middleware: go-chi chi: IP spoofing via X-Forwarded-For header allows bypass of access controls"
},
{
"cve": "CVE-2026-72816",
"cwe": {
"id": "CWE-346",
"name": "Origin Validation Error"
},
"discovery_date": "2026-08-14T11:51:32.536396+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2515985"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in the go-chi/chi RealIP middleware. This vulnerability allows a remote attacker to perform IP spoofing by supplying arbitrary IP addresses in client-controlled headers. This can lead to bypassing IP-based access controls, evading rate limiting and geo-IP restrictions, and polluting audit logs.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "github.com/go-chi/chi: go-chi/chi: IP Spoofing via RealIP Middleware allows bypassing access controls",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "An IP spoofing flaw exists in go-chi/chi\u0027s RealIP middleware (middleware/realip.go). The realIP() function parses untrusted HTTP headers (True-Client-IP, X-Real-IP, X-Forwarded-For) and overwrites r.RemoteAddr without validating upstream proxy identity. Remote unauthenticated attackers can supply arbitrary IP values in these headers to bypass IP-restricted endpoints, subvert rate-limiting controls, or poison application audit logs, posing a Low impact to confidentiality and integrity.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:spire1-15-main@aarch64",
"Red Hat Hardened Images:spire1-15-main@src",
"Red Hat Hardened Images:spire1-15-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-72816"
},
{
"category": "external",
"summary": "RHBZ#2515985",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2515985"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-72816",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-72816"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-72816",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72816"
},
{
"category": "external",
"summary": "https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp",
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp"
},
{
"category": "external",
"summary": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware",
"url": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware"
}
],
"release_date": "2026-08-14T11:35:28.145000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-08-03T17:08:46+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:spire1-15-main@aarch64",
"Red Hat Hardened Images:spire1-15-main@src",
"Red Hat Hardened Images:spire1-15-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:49732"
},
{
"category": "workaround",
"details": "Do not use the `chi/middleware.RealIP` middleware when receiving traffic directly from untrusted networks or unverified proxies. Instead, strip or sanitize client-supplied forwarding headers at an upstream edge proxy or reverse proxy (such as NGINX or HAProxy) before requests reach the application.",
"product_ids": [
"Red Hat Hardened Images:spire1-15-main@aarch64",
"Red Hat Hardened Images:spire1-15-main@src",
"Red Hat Hardened Images:spire1-15-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:spire1-15-main@aarch64",
"Red Hat Hardened Images:spire1-15-main@src",
"Red Hat Hardened Images:spire1-15-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "github.com/go-chi/chi: go-chi/chi: IP Spoofing via RealIP Middleware allows bypassing access controls"
},
{
"cve": "CVE-2026-72817",
"cwe": {
"id": "CWE-501",
"name": "Trust Boundary Violation"
},
"discovery_date": "2026-08-14T11:54:03.312526+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2516008"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in the `go-chi/chi` component. The RealIP middleware, responsible for resolving the request source IP, does not properly validate trusted proxies when processing the `X-Forwarded-For` header. A remote attacker can exploit this by prepending a forged IP address to the `X-Forwarded-For` header, leading to IP spoofing. This could allow the attacker to bypass access controls or falsify request logs.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "github.com/go-chi/chi/middleware: go-chi/chi: IP spoofing via X-Forwarded-For header manipulation",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "A flaw in the go-chi/chi RealIP middleware allows remote attackers to spoof source IP addresses (`Request.RemoteAddr`). The middleware parses the first IP address in the `X-Forwarded-For` header without verifying if the immediate HTTP proxy peer is trusted. An unauthenticated attacker can prepend an arbitrary IP address to the `X-Forwarded-For` header, causing applications relying on `RealIP` for request context to misidentify the client source. This enables bypassing application-level IP-based access control lists (ACLs) or spoofing identity in audit logs.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:spire1-15-main@aarch64",
"Red Hat Hardened Images:spire1-15-main@src",
"Red Hat Hardened Images:spire1-15-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-72817"
},
{
"category": "external",
"summary": "RHBZ#2516008",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2516008"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-72817",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-72817"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-72817",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72817"
},
{
"category": "external",
"summary": "https://github.com/go-chi/chi/security/advisories/GHSA-9g5q-2w5x-hmxf",
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-9g5q-2w5x-hmxf"
},
{
"category": "external",
"summary": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-x-forwarded-for",
"url": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-x-forwarded-for"
}
],
"release_date": "2026-08-14T11:35:28.824000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-08-03T17:08:46+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:spire1-15-main@aarch64",
"Red Hat Hardened Images:spire1-15-main@src",
"Red Hat Hardened Images:spire1-15-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:49732"
},
{
"category": "workaround",
"details": "Disable the default `RealIP` middleware and replace it with a proxy-aware middleware (such as `httputil.ReverseProxy` or custom header parsing) that strictly validates upstream reverse proxies against an explicit list of trusted CIDR ranges before accepting `X-Forwarded-For` headers.",
"product_ids": [
"Red Hat Hardened Images:spire1-15-main@aarch64",
"Red Hat Hardened Images:spire1-15-main@src",
"Red Hat Hardened Images:spire1-15-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:spire1-15-main@aarch64",
"Red Hat Hardened Images:spire1-15-main@src",
"Red Hat Hardened Images:spire1-15-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "github.com/go-chi/chi/middleware: go-chi/chi: IP spoofing via X-Forwarded-For header manipulation"
}
]
}
RHSA-2026:54420
Vulnerability from csaf_redhat - Published: 2026-08-12 17:43 - Updated: 2026-08-20 11:28A flaw was found in the `go-chi chi` RealIP middleware. This vulnerability allows a remote attacker to spoof their IP address by manipulating the `X-Forwarded-For` HTTP header. By exploiting this, an attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, potentially leading to unauthorized access or misattribution of actions.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:cosign-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:cosign-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:cosign-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
A flaw was found in the go-chi/chi RealIP middleware. This vulnerability allows a remote attacker to perform IP spoofing by supplying arbitrary IP addresses in client-controlled headers. This can lead to bypassing IP-based access controls, evading rate limiting and geo-IP restrictions, and polluting audit logs.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:cosign-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:cosign-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:cosign-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
A flaw was found in the `go-chi/chi` component. The RealIP middleware, responsible for resolving the request source IP, does not properly validate trusted proxies when processing the `X-Forwarded-For` header. A remote attacker can exploit this by prepending a forged IP address to the `X-Forwarded-For` header, leading to IP spoofing. This could allow the attacker to bypass access controls or falsify request logs.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:cosign-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:cosign-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:cosign-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for Red Hat Hardened Images RPMs is now available.",
"title": "Topic"
},
{
"category": "general",
"text": "This update includes the following RPMs:\n\ncosign:\n * cosign-3.1.3-0.1.hum1 (aarch64, x86_64)\n * cosign-3.1.3-0.1.hum1.src (src)",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2026:54420",
"url": "https://access.redhat.com/errata/RHSA-2026:54420"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-72816",
"url": "https://access.redhat.com/security/cve/CVE-2026-72816"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-72817",
"url": "https://access.redhat.com/security/cve/CVE-2026-72817"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-72815",
"url": "https://access.redhat.com/security/cve/CVE-2026-72815"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_54420.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
"tracking": {
"current_release_date": "2026-08-20T11:28:11+00:00",
"generator": {
"date": "2026-08-20T11:28:11+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.3.16"
}
},
"id": "RHSA-2026:54420",
"initial_release_date": "2026-08-12T17:43:48+00:00",
"revision_history": [
{
"date": "2026-08-12T17:43:48+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-08-19T18:41:59+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-08-20T11:28:11+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Hardened Images",
"product": {
"name": "Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:hummingbird:1"
}
}
}
],
"category": "product_family",
"name": "Red Hat Hardened Images"
},
{
"branches": [
{
"category": "product_version",
"name": "cosign-main@aarch64",
"product": {
"name": "cosign-main@aarch64",
"product_id": "cosign-main@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cosign@3.1.3-0.1.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "cosign-main@src",
"product": {
"name": "cosign-main@src",
"product_id": "cosign-main@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cosign@3.1.3-0.1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "cosign-main@x86_64",
"product": {
"name": "cosign-main@x86_64",
"product_id": "cosign-main@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/cosign@3.1.3-0.1.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "x86_64"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "cosign-main@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:cosign-main@aarch64"
},
"product_reference": "cosign-main@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cosign-main@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:cosign-main@src"
},
"product_reference": "cosign-main@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "cosign-main@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:cosign-main@x86_64"
},
"product_reference": "cosign-main@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-72815",
"cwe": {
"id": "CWE-940",
"name": "Improper Verification of Source of a Communication Channel"
},
"discovery_date": "2026-08-14T11:51:50.442442+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2515988"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in the `go-chi chi` RealIP middleware. This vulnerability allows a remote attacker to spoof their IP address by manipulating the `X-Forwarded-For` HTTP header. By exploiting this, an attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, potentially leading to unauthorized access or misattribution of actions.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "github.com/go-chi/chi/middleware: go-chi chi: IP spoofing via X-Forwarded-For header allows bypass of access controls",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "An IP spoofing flaw exists in go-chi/chi\u0027s RealIP middleware. When parsing incoming HTTP requests, the middleware blindly trusts the leftmost IP address in the X-Forwarded-For header without verifying proxy chain trust. Remote unauthenticated attackers can supply arbitrary client IP addresses to bypass IP-based access control lists (ACLs), evade rate-limiting rules, or forge audit trail logs, posing a Low impact to confidentiality and integrity.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:cosign-main@aarch64",
"Red Hat Hardened Images:cosign-main@src",
"Red Hat Hardened Images:cosign-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-72815"
},
{
"category": "external",
"summary": "RHBZ#2515988",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2515988"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-72815",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-72815"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-72815",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72815"
},
{
"category": "external",
"summary": "https://github.com/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx",
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx"
},
{
"category": "external",
"summary": "https://www.vulncheck.com/advisories/go-chi-chi-ip-spoofing-via-x-forwarded-for-header",
"url": "https://www.vulncheck.com/advisories/go-chi-chi-ip-spoofing-via-x-forwarded-for-header"
}
],
"release_date": "2026-08-14T11:35:27.496000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-08-12T17:43:48+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:cosign-main@aarch64",
"Red Hat Hardened Images:cosign-main@src",
"Red Hat Hardened Images:cosign-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:54420"
},
{
"category": "workaround",
"details": "Do not rely on the `RealIP` middleware when accepting connections from untrusted networks. Instead, configure an upstream reverse proxy (such as NGINX or HAProxy) to overwrite or sanitize client-supplied `X-Forwarded-For` headers before forwarding traffic to the application.",
"product_ids": [
"Red Hat Hardened Images:cosign-main@aarch64",
"Red Hat Hardened Images:cosign-main@src",
"Red Hat Hardened Images:cosign-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:cosign-main@aarch64",
"Red Hat Hardened Images:cosign-main@src",
"Red Hat Hardened Images:cosign-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "github.com/go-chi/chi/middleware: go-chi chi: IP spoofing via X-Forwarded-For header allows bypass of access controls"
},
{
"cve": "CVE-2026-72816",
"cwe": {
"id": "CWE-346",
"name": "Origin Validation Error"
},
"discovery_date": "2026-08-14T11:51:32.536396+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2515985"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in the go-chi/chi RealIP middleware. This vulnerability allows a remote attacker to perform IP spoofing by supplying arbitrary IP addresses in client-controlled headers. This can lead to bypassing IP-based access controls, evading rate limiting and geo-IP restrictions, and polluting audit logs.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "github.com/go-chi/chi: go-chi/chi: IP Spoofing via RealIP Middleware allows bypassing access controls",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "An IP spoofing flaw exists in go-chi/chi\u0027s RealIP middleware (middleware/realip.go). The realIP() function parses untrusted HTTP headers (True-Client-IP, X-Real-IP, X-Forwarded-For) and overwrites r.RemoteAddr without validating upstream proxy identity. Remote unauthenticated attackers can supply arbitrary IP values in these headers to bypass IP-restricted endpoints, subvert rate-limiting controls, or poison application audit logs, posing a Low impact to confidentiality and integrity.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:cosign-main@aarch64",
"Red Hat Hardened Images:cosign-main@src",
"Red Hat Hardened Images:cosign-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-72816"
},
{
"category": "external",
"summary": "RHBZ#2515985",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2515985"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-72816",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-72816"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-72816",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72816"
},
{
"category": "external",
"summary": "https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp",
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp"
},
{
"category": "external",
"summary": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware",
"url": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware"
}
],
"release_date": "2026-08-14T11:35:28.145000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-08-12T17:43:48+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:cosign-main@aarch64",
"Red Hat Hardened Images:cosign-main@src",
"Red Hat Hardened Images:cosign-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:54420"
},
{
"category": "workaround",
"details": "Do not use the `chi/middleware.RealIP` middleware when receiving traffic directly from untrusted networks or unverified proxies. Instead, strip or sanitize client-supplied forwarding headers at an upstream edge proxy or reverse proxy (such as NGINX or HAProxy) before requests reach the application.",
"product_ids": [
"Red Hat Hardened Images:cosign-main@aarch64",
"Red Hat Hardened Images:cosign-main@src",
"Red Hat Hardened Images:cosign-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:cosign-main@aarch64",
"Red Hat Hardened Images:cosign-main@src",
"Red Hat Hardened Images:cosign-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "github.com/go-chi/chi: go-chi/chi: IP Spoofing via RealIP Middleware allows bypassing access controls"
},
{
"cve": "CVE-2026-72817",
"cwe": {
"id": "CWE-501",
"name": "Trust Boundary Violation"
},
"discovery_date": "2026-08-14T11:54:03.312526+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2516008"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in the `go-chi/chi` component. The RealIP middleware, responsible for resolving the request source IP, does not properly validate trusted proxies when processing the `X-Forwarded-For` header. A remote attacker can exploit this by prepending a forged IP address to the `X-Forwarded-For` header, leading to IP spoofing. This could allow the attacker to bypass access controls or falsify request logs.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "github.com/go-chi/chi/middleware: go-chi/chi: IP spoofing via X-Forwarded-For header manipulation",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "A flaw in the go-chi/chi RealIP middleware allows remote attackers to spoof source IP addresses (`Request.RemoteAddr`). The middleware parses the first IP address in the `X-Forwarded-For` header without verifying if the immediate HTTP proxy peer is trusted. An unauthenticated attacker can prepend an arbitrary IP address to the `X-Forwarded-For` header, causing applications relying on `RealIP` for request context to misidentify the client source. This enables bypassing application-level IP-based access control lists (ACLs) or spoofing identity in audit logs.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:cosign-main@aarch64",
"Red Hat Hardened Images:cosign-main@src",
"Red Hat Hardened Images:cosign-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-72817"
},
{
"category": "external",
"summary": "RHBZ#2516008",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2516008"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-72817",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-72817"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-72817",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72817"
},
{
"category": "external",
"summary": "https://github.com/go-chi/chi/security/advisories/GHSA-9g5q-2w5x-hmxf",
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-9g5q-2w5x-hmxf"
},
{
"category": "external",
"summary": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-x-forwarded-for",
"url": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-x-forwarded-for"
}
],
"release_date": "2026-08-14T11:35:28.824000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-08-12T17:43:48+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:cosign-main@aarch64",
"Red Hat Hardened Images:cosign-main@src",
"Red Hat Hardened Images:cosign-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:54420"
},
{
"category": "workaround",
"details": "Disable the default `RealIP` middleware and replace it with a proxy-aware middleware (such as `httputil.ReverseProxy` or custom header parsing) that strictly validates upstream reverse proxies against an explicit list of trusted CIDR ranges before accepting `X-Forwarded-For` headers.",
"product_ids": [
"Red Hat Hardened Images:cosign-main@aarch64",
"Red Hat Hardened Images:cosign-main@src",
"Red Hat Hardened Images:cosign-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:cosign-main@aarch64",
"Red Hat Hardened Images:cosign-main@src",
"Red Hat Hardened Images:cosign-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "github.com/go-chi/chi/middleware: go-chi/chi: IP spoofing via X-Forwarded-For header manipulation"
}
]
}
ubuntu-cve-2026-72816
Vulnerability from osv_ubuntu
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.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-go-chi-chi-dev",
"binary_version": "5.0.7-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-github-go-chi-chi",
"purl": "pkg:deb/ubuntu/golang-github-go-chi-chi@5.0.7-1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.5.1-2",
"5.0.7-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-go-chi-chi-dev",
"binary_version": "5.0.7-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "golang-github-go-chi-chi",
"purl": "pkg:deb/ubuntu/golang-github-go-chi-chi@5.0.7-1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.0.7-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-go-chi-chi-dev",
"binary_version": "5.2.3-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "golang-github-go-chi-chi",
"purl": "pkg:deb/ubuntu/golang-github-go-chi-chi@5.2.3-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.2.0-1",
"5.2.3-1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2026-72816",
"modified": "2026-08-19T11:11:14Z",
"published": "2026-08-14T12:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-72816"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-72816"
},
{
"type": "REPORT",
"url": "https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp"
},
{
"type": "REPORT",
"url": "https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-72816"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.