Insufficient Verification of Data Authenticity Affecting github.com/go-chi/chi/v5/middleware package, versions >=5.2.1 <5.3.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.5% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOCHICHIV5MIDDLEWARE-17660785
  • published28 Jun 2026
  • disclosed25 Jun 2026
  • creditUnknown

Introduced: 25 Jun 2026

CVE-2026-72815  (opens in a new tab)
CWE-290  (opens in a new tab)
CWE-345  (opens in a new tab)

How to fix?

Upgrade github.com/go-chi/chi/v5/middleware to version 5.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity via the realIP function. An attacker can gain unauthorized access to restricted resources, evade rate limiting, or manipulate security logs by supplying a crafted X-Forwarded-For header containing a spoofed IP address.

CVSS Base Scores

version 4.0
version 3.1