PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-118657 labstack CVE debrief

CVE-2026-118657 debrief: Echo HTTPS Redirect and HSTS Bypass via Forwarded Scheme Headers. The Echo framework, used in various Go projects, has a vulnerability in handling forwarded scheme headers. This could lead to HTTPS redirect and HSTS bypass issues if not properly addressed. Defenders should assess exposure, verify versions, and prioritize patching or upgrading to fixed versions to mitigate potential risks. The vulnerability affects versions of github.com/labstack/echo/v4 before 4.16.0 and versions of github.com/labstack/echo/v5 before 5.4.0.

Vendor
labstack
Product
github.com/labstack/echo/v4
CVSS
MEDIUM 5.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-05
Original CVE updated
2026-11-05
Advisory published
2026-11-05
Advisory updated
2026-11-05

Who should care

Defenders of Go projects using github.com/labstack/echo/v4 or github.com/labstack/echo/v5 should assess exposure and verify versions to ensure they are not using vulnerable versions.

Why it matters

CVE-2026-118657 is a vulnerability in the Echo framework that could lead to HTTPS redirect and HSTS bypass issues if not properly addressed. Defenders should assess exposure, verify versions, and prioritize patching or upgrading to fixed versions to mitigate potential risks.

  • Potential for HTTPS redirect bypass
  • Potential for HSTS bypass in certain configurations
  • Need to verify version exposure in Go projects
  • Prioritize patching or upgrading to fixed versions

Technical summary

The Echo framework has a vulnerability in handling forwarded scheme headers, potentially leading to HTTPS redirect and HSTS bypass issues. This affects versions of github.com/labstack/echo/v4 before 4.16.0 and versions of github.com/labstack/echo/v5 before 5.4.0. The vulnerability arises from unconditional trust of forwarded scheme headers, which can be exploited under certain configurations. Defenders should assess exposure, verify versions, and prioritize patching or upgrading to fixed versions to mitigate potential risks.

Defensive priority

Assess exposure in Go projects using github.com/labstack/echo/v4 or github.com/labstack/echo/v5; verify if using vulnerable versions before 4.16.0 or 5.4.0; apply patches or upgrade to fixed versions.

Recommended defensive actions

  • Assess exposure in Go projects using github.com/labstack/echo/v4 or github.com/labstack/echo/v5
  • Verify if using vulnerable versions before 4.16.0 or 5.4.0
  • Apply patches or upgrade to fixed versions
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability in github.com/labstack/echo. Limited information is available on actual exploitation or impact. Defenders should verify if using vulnerable versions before 4.16.0 or 5.4.0 and apply patches or upgrades to fixed versions. The vulnerability has been noted in public sources, but specific details on exploitation are not provided.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-118657 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-118657

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-118657 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-118657

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Echo: HTTPS Redirect and HSTS Bypass via Unconditional Trust of Forwarded Scheme Headers in gith

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/Go/GO-2026-6879.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/labstack/echo/security/advisories/GHSA-2ffq-g2xg-c22p

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/labstack/echo/releases/tag/v4.16.0

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/labstack/echo/releases/tag/v5.4.0

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.