{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-118651",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-10-28T17:25:37.561Z",
        "datePublished": "2026-10-28T19:30:01.320Z",
        "dateUpdated": "2026-10-28T19:31:47.851Z"
    },
    "containers": {
        "cna": {
            "title": "Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-346",
                            "lang": "en",
                            "description": "CWE-346: Origin Validation Error",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.3,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/labstack/echo/security/advisories/GHSA-99jh-6h7p-pp36",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/labstack/echo/security/advisories/GHSA-99jh-6h7p-pp36"
                },
                {
                    "name": "https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af"
                },
                {
                    "name": "https://github.com/labstack/echo/releases/tag/v5.4.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/labstack/echo/releases/tag/v5.4.0"
                }
            ],
            "affected": [
                {
                    "vendor": "labstack",
                    "product": "echo",
                    "versions": [
                        {
                            "version": ">= 4.0.0, < 5.4.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-10-28T19:31:47.851Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Echo is a Go web framework. From 4.0.0 until 5.4.0, the Proxy middleware can preserve an attacker-supplied X-Real-IP header and forward it to an upstream service when Echo.IPExtractor is not configured. A remote client can therefore make upstream services receive a spoofed client address, undermining IP-based access controls, rate limiting, audit logging, or geographic restrictions that trust Echo's forwarded identity. This issue is fixed in Echo 5.4.0."
                }
            ],
            "source": {
                "advisory": "GHSA-99jh-6h7p-pp36",
                "discovery": "UNKNOWN"
            }
        }
    }
}