CVE Professor
›
Back
CVE-2026-118654

CVE-2026-118654 — CWE-22

MEDIUM CVSS 5.9 NVD

CVE-2026-118654 is a MEDIUM severity Path Traversal & Arbitrary File Read vulnerability (CWE-22) (CVSS 5.9/10) affecting affected software system. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) with zero user interaction (UI:N), allowing unauthorized disclosure of sensitive data (C:H).

📄 Official NVD / MITRE Original Record Text

Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Echo's static file handlers can normalize dot segments after route matching and serve a file through a public static route even though the corresponding direct path is protected by route-level middleware. An unauthenticated attacker can read files that an application intended to protect with route-level middleware, when those files are also reachable through a static filesystem mount after path normalization. This vulnerability is the result of an incomplete fix for CVE-2026-55677. This issue is fixed in 4.16.0 and 5.4.0.

Published 28.10.2026
ISO Date 2026-10-28
CVSS Version v3.1
Source NVD
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity None I:N
Availability None A:N
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-118654
CVSS 5.9/10 · MEDIUM · 28.10.2026
CWE: CWE-22
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Path Traversal / LFI
Summary: Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Echo's static file handlers can normalize dot segments after route matching and serve a file through a public static route even though the corresponding direct path is protected by route-level middleware. An unauthenticated attacker can read files that an application intended to protect with route-level middleware, when those files are also…

⚡ ATTACK CHAIN
1. Test ../../../../etc/passwd in file parameters.
2. URL encode variants: ..%2F, ..%252F, null byte %00.
3. PHP LFI to RCE via log poisoning: inject PHP in User-Agent, include access log.
4. PHP wrappers: php://filter/convert.base64-encode/resource=config.php

🔧 Tools: LFISuite, ffuf, Burp Suite, dotdotpwn
🗺️ MITRE ATT&CK: T1083 (File and Directory Discovery), T1552 (Unsecured Credentials)

🌍 REAL WORLD IMPACT
All confidential data readable/stealable.

🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Use realpath() canonicalization, implement allowlists.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
5.9 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-22
Related CVEs
6.3
CVE-2026-132282
A vulnerability was determined in elunez eladmin up to 2.7. This vulnerability affects the function FileUtil.u
9.9
CVE-2026-130780
Incus before 7.6.0 contains a path traversal vulnerability that allows malicious migration peers to write outs
9.8
CVE-2026-63189
Dialoqbase is an application for creating chatbots. Prior to 1.11.5, the unauthenticated GET /api/v1/view/* ro
9.6
CVE-2026-55506
Wavelog is web-based amateur radio logging software. Prior to 2.5, the filename parameter accepted by POST /qs
9.6
CVE-2026-130779
Incus before 7.6.0 contains a path traversal vulnerability that allows users permitted to import custom volume
9.4
CVE-2026-130156
Bazarr is a companion application to Sonarr and Radarr. Prior to 1.6.3-beta.11, the /api/subtitles/subtitles-i