CVE-2026-118650
CVE-2026-118650 — Echo: middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path
Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, a globally mounted middleware.Static instance can interpret an encoded request path differently from Echo's router because the router matches the still-encoded path while the static handler uses the decoded URL.Path. The advisory demonstrates an encoded slash resolving to a file under the static root through the global static middleware, but the source is internally inconsistent about whether a route or group guard protects the corresponding literal path in that global-mount configuration. This issue is fixed in 4.16.0 and 5.4.0.
Published Updated Sources: NVD, labstack (CNA), GitHub, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
<1%
ahead of 42% of scored CVEs
CVSS base
7.5
high
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade Echo to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Labstack | echo | >= 5.0.0, < 5.4.0 | Vulnerable |
| Labstack | echo | < 4.16.0 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
None
Confidentiality
High
Integrity
None
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | high | 3.9 | 3.6 | GitHub (CNA), labstack (CNA) |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-177 · Improper Handling of URL Encoding (Hex Encoding)
- Unexpected State::
Mitigation: Avoid making decisions based on names of resources (e.g. files) if those resources can have alternate names.
CWE-863 · Incorrect Authorization
- Read Application Data
- Read Files or Directories
- Modify Application Data
- Modify Files or Directories
Mitigation: Divide the software into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
Weakness & attack patterns
- CWE-177
- CWE-863Incorrect Authorization
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
1
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Echo.
- Monitor for scanner or exploit-pattern traffic after 1 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 7.5 (AV:N)
Oct 28, 2026 · NVD
Initial · CVE published
Oct 28, 2026 · NVD
CVE published by MITRE.
Oct 28, 2026 · SOCRadar CTI
References
5 on the record
- github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1
Exploit, Third Party Advisory, Mitre, NIST
- github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af
Exploit, Third Party Advisory, Mitre, NIST
- github.com/labstack/echo/releases/tag/v4.16.0
Exploit, Third Party Advisory, Mitre, NIST
- github.com/labstack/echo/releases/tag/v5.4.0
Exploit, Third Party Advisory, Mitre, NIST
- github.com/labstack/echo/security/advisories/GHSA-375p-5qhx-8wq4
Exploit, Third Party Advisory, Mitre, NIST, GITHUB
Coverage
1 story from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-54253 Adobe Experience Manager | Incorrect Authorization (CWE-863)CVSS 10.0 · CISA KEV
- CVE-2026-139934 Azure API Management Elevation of Privilege VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-123218 IBM Aspera Faspex Authorization BypassCVSS 9.8 · CISA KEV
- CVE-2026-76504 Cisco Catalyst SD-WAN Manager System Account Authorization Bypass VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-45519 Synacor Zimbra Collaboration Suite (ZCS) Command Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-38856 Apache OFBiz Incorrect Authorization VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Labstackevery CVE for this vendor
- Access Controlsame class
- CWE-177other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-118650 is Echo: middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path, a high vulnerability affecting Echo from Labstack. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-118650. Public exploit evidence is: 1 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 7.5 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.