Skip to content
Heist/ feed
Back to feed
MediumFix available

golang-github-go-chi-chi — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-72815

go-chi chi versions >= 5.2.1 and before 5.3.0 contain an IP spoofing vulnerability in the RealIP middleware, which blindly trusts the first (leftmost) value of the X-Forwarded-For HTTP header. A remote attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, by supplying a spoofed IP address in the X-Forwarded-For header. The issue is fixed in version 5.3.0.

Products
golang-github-go-chi-chi
Affected versions
5.0.7-1, 5.1.0-1, 5.2.0-1, 5.2.3-1, 5.2.5-1, 5.3.0-1
Fixed versions
5.3.0-1
CVEs
CVE-2026-72815
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 11:08 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-72815

core-osv · Original source

Published 14 Aug 2026, 12:16 UTC

go-chi chi versions >= 5.2.1 and before 5.3.0 contain an IP spoofing vulnerability in the RealIP middleware, which blindly trusts the first (leftmost) value of the X-Forwarded-For HTTP header. A remote attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, by supplying a spoofed IP address in the X-Forwarded-For header. The issue is fixed in version 5.3.0.

osv:DEBIAN-CVE-2026-72815

golang-github-go-chi-chi

Fixed versions: Not specified

golang-github-go-chi-chi

Fixed versions: Not specified

golang-github-go-chi-chi

Fixed versions: 5.3.0-1

Complete source record
{
  "id": "db3231c16adc30b1fcc657c83d017b7d5e68c68bc64b52895b4fc0c788843a0d",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-72815",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-72815",
    "summary": "go-chi chi versions >= 5.2.1 and before 5.3.0 contain an IP spoofing vulnerability in the RealIP middleware, which blindly trusts the first (leftmost) value of the X-Forwarded-For HTTP header. A remote attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, by supplying a spoofed IP address in the X-Forwarded-For header. The issue is fixed in version 5.3.0.",
    "evidence": "osv:DEBIAN-CVE-2026-72815",
    "products": [
      {
        "name": {
          "value": "golang-github-go-chi-chi",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.0.7-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.1.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.2.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.2.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.2.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.3.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-go-chi-chi",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.2.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.2.3-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.2.5-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.3.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-go-chi-chi",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.3.0-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "5.2.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "5.2.3-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "5.2.5-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-72815",
      "aliases": [
        "DEBIAN-CVE-2026-72815"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS: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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-go-chi-chi",
            "purl": "pkg:deb/debian/golang-github-go-chi-chi?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "5.0.7-1",
            "5.1.0-1",
            "5.2.0-1",
            "5.2.3-1",
            "5.2.5-1",
            "5.3.0-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-72815.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-go-chi-chi",
            "purl": "pkg:deb/debian/golang-github-go-chi-chi?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "5.2.0-1",
            "5.2.3-1",
            "5.2.5-1",
            "5.3.0-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-72815.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.3.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-go-chi-chi",
            "purl": "pkg:deb/debian/golang-github-go-chi-chi?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "5.2.0-1",
            "5.2.3-1",
            "5.2.5-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-72815.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-09T09:47:31.322244307Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-72815"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-72815"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-72815",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 111607,
  "published_at": "2026-08-14T12:16:44.507+00:00"
}