{"answers":{"affected":"11 open source packages ship an affected version, including github.com/go-chi/chi/middleware, github.com/go-chi/chi/v2/middleware and github.com/go-chi/chi/v3/middleware.","exploited":"There is no known exploitation of CVE-2026-72817 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-72817 is a medium-severity vulnerability in go-chi chi, published on 14 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-72817 and fix it if it is affected.\n\nWhat it is: CVE-2026-72817 is a medium-severity vulnerability in go-chi chi, published on 14 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-72817 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/go-chi/chi/middleware (Go): affected from 0.9.0 up to 1.5.5; no fix listed\n- github.com/go-chi/chi/middleware (Go): affected from 0.9.0 up to 1.5.5; no fix listed\n- github.com/go-chi/chi/v2/middleware (Go): affected all versions up to 2.1.1; no fix listed\n- github.com/go-chi/chi/v2/middleware (Go): affected all versions up to 2.1.1; no fix listed\n- github.com/go-chi/chi/v3/middleware (Go): affected all versions up to 3.3.5; no fix listed\n- github.com/go-chi/chi/v3/middleware (Go): affected all versions up to 3.3.5; no fix listed\n- github.com/go-chi/chi/v4/middleware (Go): affected all versions up to 4.1.3; no fix listed\n- github.com/go-chi/chi/v4/middleware (Go): affected all versions up to 4.1.3; no fix listed\n- github.com/go-chi/chi/v5 (Go): affected all versions; fixed in 5.3.0\n- github.com/go-chi/chi/v5/middleware (Go): affected all versions; fixed in 5.3.0\n- github.com/go-chi/chi/v5/middleware (Go): affected all versions; fixed in 5.3.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-72817/ (Markdown: https://insights.sbomify.com/CVE-2026-72817/index.md)","id":"CVE-2026-72817","markdown":"https://insights.sbomify.com/CVE-2026-72817/index.md","name":"CVE-2026-72817","record":{"aliases":["AZL-96692","CLEANSTART-2026-PL40417","CLEANSTART-2026-UM77147","CLEANSTART-2026-VU46471","DEBIAN-CVE-2026-72817","GHSA-9f4g-6whf-f3pv","GHSA-9g5q-2w5x-hmxf","GO-2026-5775","MINI-26rp-pqhc-v5mh","MINI-2g4g-vpfw-qfv5","MINI-2gmw-57pf-h3fx","MINI-2mgg-cqgg-hxv7","MINI-37v3-x6xp-wmcj","MINI-395q-hhpp-m55j","MINI-3g57-f789-cf4f","MINI-3j64-jmrf-5qgj","MINI-3r69-5r2g-pfx8","MINI-3rh7-wcm5-f25v","MINI-3xqc-72p3-fvc8","MINI-42xf-rwg9-q852","MINI-43hw-73v7-fj2m","MINI-47mv-f2xv-cwhv","MINI-4ffg-2f6m-8c3g","MINI-4pqx-q9mw-g6fj","MINI-4xjf-mc99-5pq4","MINI-5f3h-p6vv-x9q9","MINI-5ghx-878p-gjp5","MINI-5gm5-jxcq-cv5f","MINI-5j6g-h8wx-cmcw","MINI-5mwg-r4vx-v3xf","MINI-5wqx-h4qm-5x4v","MINI-67vf-798f-cqwr","MINI-68q2-999j-75pv","MINI-6c65-29h3-qjvg","MINI-6j57-g27j-43j6","MINI-6j95-hpm9-rhqv","MINI-6qr4-g658-68jj","MINI-6rh5-jg44-p42p","MINI-6rm4-xf89-66pc","MINI-728j-pvp8-728j","MINI-72vp-99f2-95g7","MINI-7774-4f2h-hq66","MINI-7h65-9jjq-6779","MINI-7jc4-6xgv-396j","MINI-852x-x9f6-rrhq","MINI-865r-53rf-f5hq","MINI-8fgg-q3xp-cv52","MINI-8mjj-j446-65mc","MINI-8mmf-q5hp-fj5g","MINI-8r89-93fw-5x75","MINI-92wr-hg5h-mjhq","MINI-9392-wf39-r7cw","MINI-9hf4-c9x6-hqrw","MINI-9jph-3vw9-558x","MINI-9qc4-g229-255v","MINI-9r8r-8g8p-7fq6","MINI-9vwj-c65x-c555","MINI-c4gh-pc3v-f8xp","MINI-c62q-pjgf-h888","MINI-cfcj-hp6q-gwv2","MINI-cfmr-qx49-r3xh","MINI-cq9v-3mwx-jh9g","MINI-crg8-2fmh-5762","MINI-crpj-w477-4x96","MINI-f3hf-p3wx-9f95","MINI-f68q-4px9-hfmg","MINI-ff37-66gc-h4c6","MINI-fgqh-3258-rj8j","MINI-fw75-g22v-ff2j","MINI-g6r9-f55x-cxwg","MINI-g9r9-p32f-q7g6","MINI-ggw7-435m-98vw","MINI-gqqq-5483-952x","MINI-h266-9r7c-hc2m","MINI-h69c-jhrf-8vch","MINI-h929-pcch-r328","MINI-hx4x-cxfw-pvp4","MINI-j552-c5c9-4gpj","MINI-j8r4-22ch-q644","MINI-jcvw-r4jq-mc6r","MINI-m25j-8ff6-6624","MINI-m6fx-g298-c8fg","MINI-m77x-3xrj-m629","MINI-m847-cx2j-92c9","MINI-mc43-rxh5-783j","MINI-mqph-4mwp-2wq6","MINI-mw66-7www-7758","MINI-p2hg-fqf5-4mfx","MINI-p5x6-769r-rfhh","MINI-p7qg-gwhp-jgm6","MINI-pf3g-cq89-w7fh","MINI-pxr8-xf67-39xr","MINI-q97c-769g-5566","MINI-qmwx-8j7r-r395","MINI-qpgc-hgjv-cv9p","MINI-qq9m-r6q6-mp3m","MINI-r72p-cxr7-px23","MINI-rg46-6crh-w7x4","MINI-rgjr-qwj8-xqmf","MINI-rgxq-2f87-wxw2","MINI-rhc5-rx8x-pghw","MINI-rjqc-5rq2-wphq","MINI-rp4q-v5mx-x2cq","MINI-rrv3-crw8-2823","MINI-v524-v779-96v4","MINI-vc6j-vh5f-8m59","MINI-vcfv-392j-5rqm","MINI-vh4h-mgv7-75w4","MINI-w2vh-cfvq-6j2c","MINI-w35x-hpqw-66jh","MINI-w9g2-x7cx-6fjq","MINI-wf7v-rmpv-8gvq","MINI-wfgm-mhrw-3gvh","MINI-wrv3-wp2r-v765","MINI-x54j-3w8f-x579","MINI-x6w2-9fhp-4xpw","MINI-xcv2-x388-crhm","MINI-xqv4-gx96-6gj5","MINI-xqwg-vmgf-7frh","UBUNTU-CVE-2026-72817","openSUSE-SU-2026:11578-1","openSUSE-SU-2026:11591-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Go web router library","requires_auth":"none","summary":"Attackers can spoof source IPs via X-Forwarded-For headers in chi middleware, bypassing IP-based access controls and falsifying logs.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"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"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"go-chi/chi versions 0.9.0 before 5.3.0 contains an IP spoofing vulnerability in the RealIP middleware, which resolves the request source IP (Request.RemoteAddr) using the first IP in the X-Forwarded-For header without validating trusted proxies. A malicious client can prepend a forged IP as the first value of the X-Forwarded-For header to spoof the request source IP, potentially bypassing access controls or falsifying request logs.","ecosystems":["Go","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"go-chi chi 0.9.0 before 5.3.0 IP Spoofing via X-Forwarded-For","id":"CVE-2026-72817","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":13,"n_references":2,"next":{"headline":"NLTK TweetTokenizer URL Pattern Backtracks Catastrophically on Naked-Domain-Like Input","id":"CVE-2026-72818"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0.9.0"],"last_affected":["1.5.5"],"package":"github.com/go-chi/chi/middleware","purl":null,"source":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","fixed":[],"introduced":["0.9.0"],"last_affected":["1.5.5"],"package":"github.com/go-chi/chi/middleware","purl":"pkg:golang/github.com/go-chi/chi/middleware","source":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.1.1"],"package":"github.com/go-chi/chi/v2/middleware","purl":null,"source":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.1.1"],"package":"github.com/go-chi/chi/v2/middleware","purl":"pkg:golang/github.com/go-chi/chi/v2/middleware","source":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.3.5"],"package":"github.com/go-chi/chi/v3/middleware","purl":null,"source":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.3.5"],"package":"github.com/go-chi/chi/v3/middleware","purl":"pkg:golang/github.com/go-chi/chi/v3/middleware","source":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["4.1.3"],"package":"github.com/go-chi/chi/v4/middleware","purl":null,"source":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["4.1.3"],"package":"github.com/go-chi/chi/v4/middleware","purl":"pkg:golang/github.com/go-chi/chi/v4/middleware","source":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","fixed":["5.3.0"],"introduced":["0"],"last_affected":[],"package":"github.com/go-chi/chi/v5","purl":"pkg:golang/github.com/go-chi/chi/v5","source":"GO-2026-5775"},{"ecosystem":"Go","fixed":["5.3.0"],"introduced":["0"],"last_affected":[],"package":"github.com/go-chi/chi/v5/middleware","purl":null,"source":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","fixed":["5.3.0"],"introduced":["0"],"last_affected":[],"package":"github.com/go-chi/chi/v5/middleware","purl":"pkg:golang/github.com/go-chi/chi/v5/middleware","source":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.74.0-1.1"],"introduced":["0"],"last_affected":[],"package":"trivy","purl":"pkg:rpm/opensuse/trivy\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11578-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["5.53.0-1.1"],"introduced":["0"],"last_affected":[],"package":"v2ray-core","purl":"pkg:rpm/opensuse/v2ray-core\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11591-1"}],"prev":{"headline":"go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware","id":"CVE-2026-72816"},"products":["chi"],"published":"2026-08-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["go-chi"]},"summary":"Attackers can spoof source IPs via X-Forwarded-For headers in chi middleware, bypassing IP-based access controls and falsifying logs.","url":"https://insights.sbomify.com/CVE-2026-72817/"}