PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-118654 labstack CVE debrief

CVE-2026-118654 is a route protection bypass vulnerability in the Echo static file middleware due to encoded dot-dot traversal, affecting github.com/labstack/echo/v4 and github.com/labstack/echo/v5. The CVE record was published on 2026-11-05T22:54:32.000Z and has not been modified since then. The NVD entry is currently unclassified. This vulnerability allows attackers to bypass route protection, potentially leading to unauthorized access or other security issues. Defenders should assess the impact of this vulnerability on their applications and take necessary steps to mitigate it.

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 responsible for Go applications using Echo should assess exposure and prioritize verification and mitigation efforts. This includes reviewing application dependencies, checking for affected versions, and implementing necessary updates or mitigations. Additionally, defenders should monitor for potential exploitation attempts and implement compensating controls if updates are not feasible.

Why it matters

CVE-2026-118654 is a route protection bypass vulnerability in Echo static file middleware. Defenders should verify exposure in Go applications, assess the need for updates or mitigations, and monitor for exploitation attempts.

  • Verify exposure in Go applications using affected Echo versions
  • Assess the need for updates or mitigations to prevent route protection bypass
  • Implement compensating controls if updates are not feasible
  • Monitor for potential exploitation attempts

Technical summary

The Echo static file middleware is vulnerable to a route protection bypass due to encoded dot-dot traversal in github.com/labstack/echo/v4 and github.com/labstack/echo/v5. Fixed versions are v4.16.0 and v5.4.0. This vulnerability can be exploited by attackers to access files and directories outside of the intended scope, potentially leading to security issues. Defenders should prioritize verifying exposure in Go applications using affected Echo versions and assess the need for updates or mitigations to prevent route protection bypass.

Defensive priority

Defenders should prioritize verifying exposure in Go applications using affected Echo versions and assess the need for updates or mitigations.

Recommended defensive actions

  • Verify if Go applications using github.com/labstack/echo/v4 or github.com/labstack/echo/v5 are exposed to this vulnerability
  • Assess the need for updates to v4.16.0 or v5.4.0
  • Implement mitigations if updates are not feasible
  • Monitor for potential exploitation attempts
  • 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

Evidence notes

The vulnerability is described in the source item from osv_dev, which provides details on the affected packages and versions. However, the CVSS score and severity are not provided. The source item notes that the vulnerability affects github.com/labstack/echo/v4 and github.com/labstack/echo/v5. To verify exposure, defenders should review their applications' dependencies and check if they are using affected versions of Echo. The vulnerability's impact on the application will depend on its specific use case and configuration.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-118654 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-118654 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • Echo static file middleware route protection bypass via encoded dot-dot traversal in github.com/

    Unverified legacy reference

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

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/labstack/echo/security/advisories/GHSA-3pmx-cf9f-34xr

    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.