Security mailing lists by PureSourceCode

CVE-2026-114437

MEDIUM 6.3CVSS 4.0

chi: Client IP spoofing in ClientIPFromXFF via X-Forwarded-For

In the Golang Chi web framework, the ClientIPFromXFF middleware skips any X-Forwarded-For entry in a configured trusted CIDR but never verifies that the direct TCP peer in http.Request.RemoteAddr belongs to that CIDR. A client that can reach the Go server directly can therefore append a trusted-looking proxy address and choose the client IP returned by middleware.GetClientIP.

This issue affects chi before 5.4.0.

Published
21 Oct 2026
Last modified
23 Oct 2026
Assigned by
vulnreport@tenable.com
NVD status
Deferred
Weakness
CWE-345CWE-348
Also known as
GHSA-j6qf-3m9c-vwj3
Sources
NVDJSONOSV GHSA-j6qf-3m9c-vwj3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD vulnreport@tenable.com (Secondary) CVSS 4.0 MEDIUM 6.3 CVSS:4.0/AV:N/AC:H/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
NVD vulnreport@tenable.com (Secondary) CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/go-chi/chi/v5 < 5.4.0 5.4.0

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 21 Oct 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.