Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-72817: Insufficient Verification of Data Authenticity in go-chi chi

0
Medium
VulnerabilityCVE-2026-72817cvecve-2026-72817
Published: 08/14/2026 (08/14/2026, 11:35:28 UTC)
Source: CVE Database V5
Vendor/Project: go-chi
Product: chi

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.

CVSS v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

github.com/go-chi/chi
pkg:golang/github.com/go-chi/chi
Affected versions
=0.9.0<5.3.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 12:13:20 UTC

Technical Analysis

The go-chi/chi library, specifically versions 0.9.0 up to but not including 5.3.0, has an IP spoofing vulnerability in its RealIP middleware. This middleware determines the request source IP by taking the first IP address from the X-Forwarded-For HTTP header without verifying whether the proxy that added this header is trusted. An attacker can exploit this by inserting a forged IP as the first value in the X-Forwarded-For header, causing the application to incorrectly identify the source IP. This can lead to bypassing IP-based access controls or generating misleading request logs.

Potential Impact

The vulnerability allows an unauthenticated attacker to spoof the source IP address of HTTP requests. This can result in bypassing IP-based access restrictions or falsifying logs that rely on source IP information. The CVSS 4.0 base score is 6.9 (medium severity), indicating a significant but not critical risk. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid relying solely on the RealIP middleware for source IP validation or implement additional validation of trusted proxies before trusting the X-Forwarded-For header.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-10T15:12:16.754Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7f0282bf8831d539fec76c

Added to database: 08/14/2026, 11:56:50 UTC

Last enriched: 08/14/2026, 12:13:20 UTC

Last updated: 08/14/2026, 13:16:15 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses