---
title: "CVE-2026-72816"
canonical_url: "https://pkgseek.com/security/CVE-2026-72816"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "low"
---

# CVE-2026-72816

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.

CVE-2026-72816 严重级别为 LOW，共索引 1 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: LOW
- **受影响构建数**: 1
- **涉及发行版**: 1
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | golang-github-go-chi-chi-dev | 5.2.0-1 | — |
