Authentication Bypass Affecting golang-github-go-chi-chi package, versions <5.3.0-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.3% (21st 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-DEBIAN14-GOLANGGITHUBGOCHICHI-18801103
  • published15 Aug 2026
  • disclosed14 Aug 2026

Introduced: 14 Aug 2026

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

How to fix?

Upgrade Debian:14 golang-github-go-chi-chi to version 5.3.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-github-go-chi-chi package and not the golang-github-go-chi-chi package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1