Echo: Encoded slash (%2F) bypasses route-level protection and exposes static files
Collected exploitation and prediction evidence
Risk source coverageCISA KEV is observed exploitation evidence. FIRST EPSS is a dated prediction of exploitation in the next 30 days. Missing scores are unknown. This collector requests predictions only for explicit CVE aliases in the public NuGet archive; Microsoft release views retain their existing prediction scope.
No collected risk observation for these identifiers. This does not establish absence of exploitation or a zero probability.
cve-program · CVE-2026-55677
PublishedEcho is a Go web framework. Prior to 4.15.3 and 5.2.0, Echo's router and static file handler disagree on URL path decoding. The router matches routes using the raw encoded path (preserving %2F as-is), while StaticDirectoryHandler unescapes %2F to / before resolving filesystem paths. This allows an attacker to bypass route-level access controls and read static files without authorization. This vulnerability is fixed in 4.15.3 and 5.2.0.
- Source published
- 26 Jun 2026 16:15:55 UTC
- Source modified
- 26 Jun 2026 16:50:57 UTC
- Observed here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: cve-program · CVE Program Terms of Use. Source text is retained; field grouping and change labels are provided by ChangeIntel.
CVSS 3.1 · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
euvd · EUVD-2026-39800
PublishedEcho is a Go web framework. Prior to 4.15.3 and 5.2.0, Echo's router and static file handler disagree on URL path decoding. The router matches routes using the raw encoded path (preserving %2F as-is), while StaticDirectoryHandler unescapes %2F to / before resolving filesystem paths. This allows an attacker to bypass route-level access controls and read static files without authorization. This vulnerability is fixed in 4.15.3 and 5.2.0.
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Jun 26, 2026, 4:15:55 PM
dateUpdated: Jun 26, 2026, 4:50:57 PM
14 related source bulletins · separate from aliases
RHSA-2026:90493: Red Hat Security Advisory: osbuild-composer security update
CVE-2026-25681 · CVE-2026-27136 · CVE-2026-33186 · CVE-2026-42502 · CVE-2026-55677 · CVE-2026-111943
RHSA-2026:57541: Red Hat Security Advisory: osbuild-composer security update
CVE-2026-39821 · CVE-2026-55677
RHSA-2026:91958: Red Hat Security Advisory: osbuild-composer security update
CVE-2026-41178 · CVE-2026-42504 · CVE-2026-55677 · CVE-2026-78667 · CVE-2026-78669 · CVE-2026-84445 · CVE-2026-94440 · CVE-2026-97031 · CVE-2026-111943
RHSA-2026:61314: Red Hat Security Advisory: Cluster Observability Operator 1.5.2
CVE-2026-13676 · CVE-2026-27145 · CVE-2026-29181 · CVE-2026-32281 · CVE-2026-32285 · CVE-2026-35469 · CVE-2026-39829 · CVE-2026-39830 · CVE-2026-39831 · CVE-2026-39832 · CVE-2026-41178 · CVE-2026-42508 · CVE-2026-44740 · CVE-2026-46595 · CVE-2026-46597 · CVE-2026-46600 · CVE-2026-55677 · CVE-2026-56852 · CVE-2026-73643
RHSA-2026:90363: Red Hat Security Advisory: osbuild-composer security update
CVE-2026-25681 · CVE-2026-27136 · CVE-2026-33186 · CVE-2026-42502 · CVE-2026-55677 · CVE-2026-111943
RHSA-2026:61585: Red Hat Security Advisory: osbuild-composer security update
CVE-2026-25681 · CVE-2026-27136 · CVE-2026-42502 · CVE-2026-55677
RHSA-2026:53530: Red Hat Security Advisory: Multicluster Global Hub 1.7.2 security update
CVE-2026-27145 · CVE-2026-33376 · CVE-2026-33377 · CVE-2026-33811 · CVE-2026-39821 · CVE-2026-42151 · CVE-2026-42154 · CVE-2026-42306 · CVE-2026-43870 · CVE-2026-46384 · CVE-2026-46385 · CVE-2026-53488 · CVE-2026-53492 · CVE-2026-55677 · CVE-2026-55969 · CVE-2026-66801
RHSA-2026:66432: Red Hat Security Advisory: osbuild-composer security update
CVE-2026-25681 · CVE-2026-27136 · CVE-2026-39821 · CVE-2026-41178 · CVE-2026-42502 · CVE-2026-55677
RHSA-2026:44622: Red Hat Security Advisory: Multicluster Global Hub 1.6.4 security update
CVE-2026-25681 · CVE-2026-27136 · CVE-2026-27145 · CVE-2026-33376 · CVE-2026-33377 · CVE-2026-33811 · CVE-2026-39821 · CVE-2026-41567 · CVE-2026-42151 · CVE-2026-42154 · CVE-2026-43870 · CVE-2026-46384 · CVE-2026-46385 · CVE-2026-53488 · CVE-2026-53492 · CVE-2026-55677
RHSA-2026:69293: Red Hat Security Advisory: osbuild-composer security update
CVE-2026-25681 · CVE-2026-27136 · CVE-2026-41178 · CVE-2026-42502 · CVE-2026-55677
RHSA-2026:47149: Red Hat Security Advisory: Multicluster Global Hub 1.7.2 security update
CVE-2026-27145 · CVE-2026-33376 · CVE-2026-33377 · CVE-2026-33811 · CVE-2026-39821 · CVE-2026-42151 · CVE-2026-42154 · CVE-2026-43870 · CVE-2026-46384 · CVE-2026-46385 · CVE-2026-53488 · CVE-2026-53492 · CVE-2026-55677
RHSA-2026:67148: Red Hat Security Advisory: osbuild-composer security update
CVE-2025-22866 · CVE-2026-32281 · CVE-2026-41178 · CVE-2026-42499 · CVE-2026-42504 · CVE-2026-55677
RHSA-2026:63134: Red Hat Security Advisory: osbuild-composer security update
CVE-2026-25681 · CVE-2026-27136 · CVE-2026-39821 · CVE-2026-42502 · CVE-2026-55677
RHSA-2026:52946: Red Hat Security Advisory: Multicluster Global Hub 1.8.1 security update
CVE-2026-27145 · CVE-2026-33376 · CVE-2026-33377 · CVE-2026-53492 · CVE-2026-55677 · CVE-2026-55969 · CVE-2026-66801
- Source published
- Jun 26, 2026, 4:15:55 PM (timezone not stated)
- Source modified
- Jun 26, 2026, 4:50:57 PM (timezone not stated)
- Observed here
- 7 Nov 2026 12:33:34 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: euvd · ENISA EUVD · source terms and attribution apply. Source text is retained; field grouping and change labels are provided by ChangeIntel.
EUVD CVSS 3.1 · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd · CVE-2026-55677
PublishedEcho is a Go web framework. Prior to 4.15.3 and 5.2.0, Echo's router and static file handler disagree on URL path decoding. The router matches routes using the raw encoded path (preserving %2F as-is), while StaticDirectoryHandler unescapes %2F to / before resolving filesystem paths. This allows an attacker to bypass route-level access controls and read static files without authorization. This vulnerability is fixed in 4.15.3 and 5.2.0.
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-22
Original publisher date fields
published: 2026-06-26T17:16:34.203
lastModified: 2026-10-25T17:10:00.197
- Source published
- 26 Jun 2026 17:16:34 UTC
- Source modified
- 25 Oct 2026 17:10:00 UTC
- Observed here
- 27 Oct 2026 15:15:14 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: nvd · NIST NVD usage terms; underlying source attribution retained. Source text is retained; field grouping and change labels are provided by ChangeIntel.
CVSS 3.1 · [email protected] · Secondary · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
osv · GHSA-vfp3-v2gw-7wfq
Published### Summary Echo's router and static file handler disagree on URL path decoding. The router matches routes using the raw encoded path (preserving `%2F` as-is), while `StaticDirectoryHandler` unescapes `%2F` to `/` before resolving filesystem paths. This allows an attacker to bypass route-level access controls and read static files without authorization. ### Details **Root cause 1 — `router.go` lines 798-802:** The router uses `req.URL.RawPath` for route matching when `useEscapedPathForRouting` is false (the default). This means `/admin%2Fsecret.txt` is treated as a single path segment and does NOT match the `/admin/*` route pattern. ```go if !r.useEscapedPathForRouting && req.URL.RawPath != "" { path = req.URL.RawPath } ``` **Root cause 2 — `echo.go` lines 559-568:** `StaticDirectoryHandler` calls `url.PathUnescape()` on the path parameter before opening files. This converts `%2F` back to `/`, resolving `admin/secret.txt` on disk. ```go if !disablePathUnescaping { tmpPath, err := url.PathUnescape(p) p = tmpPath } name := filepath.ToSlash(filepath.Clean(strings.TrimPrefix(p, "/"))) ``` ### PoC (Screenshot) Sample: <img width="1291" height="970" alt="image" src="https://github.com/user-attachments/assets/0bc58059-3e6d-4678-ab25-a5c79b006738" /> 403: <img width="526" height="194" alt="image" src="https://github.com/user-attachments/assets/2f55ffdd-87b2-4a1b-8a13-130ebad0f257" /> Bypass with encoded slash: <img width="592" height="203" alt="image" src="https://github.com/user-attachments/assets/1191cd39-ae8f-4d7e-8fb1-cb9cf31f484f" /> ### Impact Unauthorized static file disclosure. Applications that protect route prefixes with authentication middleware while also serving static files from a broader root are vulnerable. An attacker only needs to encode the slash (`/` → `%2F`) in the URL to bypass all route-level protection. Common affected pattern: ```go adminGroup := e.Group("/admin", authMiddleware) e.StaticFS("/", os.DirFS("public")) ```
- Source published
- 25 Aug 2026 16:13:29 UTC
- Source modified
- 10 Sep 2026 03:51:14 UTC
- Observed here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: osv · GitHub Advisory Database · CC-BY-4.0. Source text is retained; field grouping and change labels are provided by ChangeIntel.
CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher rating · HIGH
osv · GO-2026-6293
PublishedEncoded slash (%2F) bypasses route-level protection and exposes static files in github.com/labstack/echo/v4 and github.com/labstack/echo/v5
- Source published
- 26 Aug 2026 14:57:44 UTC
- Source modified
- 26 Aug 2026 15:15:13 UTC
- Observed here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: osv · OSV · upstream source license applies. Source text is retained; field grouping and change labels are provided by ChangeIntel.