Directory Traversal in Echo Web Framework Affects LabStack
CVE-2026-118654

5.9MEDIUM

Key Information:

Vendor

Labstack

Status
Vendor
CVE Published:
28 October 2026

What is CVE-2026-118654?

The Echo web framework, developed by LabStack, has a directory traversal vulnerability that allows unauthenticated attackers to read sensitive files. This occurs when the static file handlers normalize dot segments after route matching, potentially exposing files intended to be protected by route-level middleware. This vulnerability stems from an incomplete fix for a prior issue and affects versions prior to 4.16.0 and 5.4.0. Users are advised to upgrade to the latest versions to mitigate this security risk.

Affected Version(s)

echo < 4.16.0 < 4.16.0

echo >= 5.0.0, < 5.4.0 < 5.0.0, 5.4.0

References

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.