SCA: security update for github.com/go-chi/chi/v5/middleware (GHSA-rjr7-jggh-pgcp)

high Tenable Self-Hosted Container Security Plugin ID 443940

Description

chi's RealIP Middleware allows IP spoofing via unvalidated X-Forwarded-For header

Solution

Update the github.com/go-chi/chi/v5/middleware library and its related packages to version 5.3.0 or later.

See Also

https://github.com/advisories/GHSA-rjr7-jggh-pgcp

Plugin Details

Severity: High

ID: 443940

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 6/26/2026

Updated: 6/26/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/25/2026

Vulnerability Publication Date: 6/25/2026

Reference Information