Origin Validation Error Affecting github.com/go-chi/chi/v5/middleware package, versions <5.3.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.24% (14th 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-17660791
  • published28 Jun 2026
  • disclosed25 Jun 2026
  • creditconvto

Introduced: 25 Jun 2026

CVE-2026-72817  (opens in a new tab)
CWE-346  (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 Origin Validation Error via the RealIP process. An attacker can cause misidentification of the request source IP by manipulating the X-Forwarded-For header, potentially bypassing access controls or falsifying request logs.

CVSS Base Scores

version 4.0
version 3.1