Advisory

DEBIAN-CVE-2026-72816

Also known as: CVE-2026-72816

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-08-14 12:16 UTC
Modified
2026-10-09 09:47 UTC

Affected packages and fixes

golang-github-go-chi-chi

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

golang-github-go-chi-chi

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

golang-github-go-chi-chi

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 5.3.0-1 (ecosystem)

Fixed versions

5.3.0-1

Fix

  • Fixed version 5.3.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences