CVE-2026-72816

Aliases:DEBIAN-CVE-2026-72816GHSA-rjr7-jggh-pgcpGO-2026-5777UBUNTU-CVE-2026-72816
Deferred
Published: 14 Aug 2026, 11:35
Last modified:14 Aug 2026, 15:22

Vulnerability Summary

Overall Risk (default)
medium
28/100
CVSS Score
6.9 MEDIUM
v4.0 (cve.org)
EPSS Score
0.22% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

14 Aug 2026, 11:35
Published
Vulnerability first disclosed
14 Aug 2026, 15:22
Last Modified
Vulnerability information updated

Description

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 Metrics

  • v4.0MEDIUMScore: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
  • v4.0MEDIUMScore: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • v4.0HIGHScore: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
  • v3.1MEDIUMScore: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

EPSS Trends

Current EPSS score: 0.22% Percentile: 13%

Techniques & Countermeasures

  • CWE-290Authentication Bypass by Spoofing

    This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.

Affected Systems

  • debiangolang-github-go-chi-chi

    all | all | all | < 5.3.0-1

  • ubuntugolang-github-go-chi-chi

    all | all | all

  • go-chichi

    < 5.3.0

  • github.com/go-chi/chimiddleware

    ≤ 1.5.5

  • github.com/go-chi/chiv5

    < 5.3.0

  • github.com/go-chi/chi/v2middleware

    ≤ 2.1.1

  • github.com/go-chi/chi/v3middleware

    ≤ 3.3.5

  • github.com/go-chi/chi/v4middleware

    ≤ 4.1.3

  • github.com/go-chi/chi/v5middleware

    < 5.3.0

References (8)