SEVERITY NOT PROVIDED EPSS 0.6% · 41th percentile

CVE-2026-118653: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration in github.com/labstack/echo

Published 2026-11-05 · Updated 2026-11-24 · Also known as GHSA-246p-cpwv-v3jq, GO-2026-6872

Summary

The labstack/echo framework contains a vulnerability where a spoofed X-Forwarded-For header can bypass rate limiting due to default configuration issues. Engineering teams using echo/v4 or echo/v5 should upgrade to the specified patched versions to restore effective rate limiting.

Who is affected

This flaw impacts applications utilizing the default rate limiting configuration within labstack/echo versions 4.0.0 through 4.16.2 or echo/v5 prior to 5.1.0. Attackers can leverage spoofed headers to circumvent rate limits, potentially leading to unauthorized high-volume requests or resource exhaustion.

Exploitability

The exploitability is characterized by an EPSS score of 0.005, indicating a moderate probability of exploitation in the wild. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog, and a CVSS vector is not documented.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-24. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Go github.com/labstack/echo/v4 >= 4.0.0, < 4.16.3 4.16.3 go get github.com/labstack/echo/[email protected]
Go github.com/labstack/echo/v5 >= 0, < 5.1.0 5.1.0 go get github.com/labstack/echo/[email protected]

FAQ

Is this vulnerability being actively exploited?

There is no documentation or CISA KEV entry suggesting active exploitation at this time.

What specifically causes the bypass?

The bypass is caused by the handling of the X-Forwarded-For header in the default configuration, allowing unauthorized traffic to mask its origin.

Is a workaround available if I cannot upgrade immediately?

Workarounds are not documented in the provided vulnerability record.

Original advisory description
Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration in github.com/labstack/echo

References

Source records: GO-2026-6872 (OSV.dev) · EPSS by FIRST, 2026-11-26.