CVE-2026-118655
Echo: Static Middleware Double-Unescape Path Traversal
Echo is a Go web framework. Prior to 4.15.3 and 5.2.0, middleware.Static can decode an already decoded Request.URL.Path a second time. Double-encoded separators can consequently be reconstructed before filesystem resolution. This can reach a file under a guarded route when the static middleware is registered globally. This issue is fixed in 4.15.3 and 5.2.0.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.303% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 5.9 · published by GitHub_MCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Assessment source · checked 2026-11-19T12:58:00.998Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:00.998Z | CVE Program |
| epss | verified | 2026-11-19T18:27:15.258Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:38.976Z | OSV |
| affected | verified | 2026-11-19T12:58:00.998Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:00.998Z | CVE Program |
Affected versions and configuration
labstack echo; default status: unknown: >= 5.0.0, < 5.2.0 [affected; scheme: unspecified]; < 4.15.3 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "labstack",
"product": "echo",
"versions": [
{
"status": "affected",
"version": ">= 5.0.0, < 5.2.0"
},
{
"status": "affected",
"version": "< 4.15.3"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-118655",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-10-29T18:29:35.386733Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-29T18:29:50.622Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-xwq5-6cqp-vx96",
"aliases": [
"CVE-2026-118655",
"GO-2026-6885"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.15.3"
}
]
}
],
"package": {
"name": "github.com/labstack/echo/v4",
"purl": "pkg:golang/github.com/labstack/echo/v4",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-xwq5-6cqp-vx96/GHSA-xwq5-6cqp-vx96.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/labstack/echo/security/advisories/GHSA-xwq5-6cqp-vx96",
"type": "WEB"
},
{
"url": "https://github.com/labstack/echo/issues/2599",
"type": "WEB"
},
{
"url": "https://github.com/labstack/echo/pull/3006",
"type": "WEB"
},
{
"url": "https://github.com/labstack/echo/commit/a9ede66a5a7196411131beb1ee801e75bbaf7ac6",
"type": "WEB"
},
{
"url": "https://github.com/labstack/echo/commit/c3fa2a27ff92b2b8db360de614f999ef1da24725",
"type": "WEB"
},
{
"url": "https://github.com/labstack/echo",
"type": "PACKAGE"
},
{
"url": "https://github.com/labstack/echo/releases/tag/v4.15.3",
"type": "WEB"
},
{
"url": "https://github.com/labstack/echo/releases/tag/v5.2.0",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-174"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2026-10-28T21:04:39Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2026-6885",
"aliases": [
"CVE-2026-118655",
"GHSA-xwq5-6cqp-vx96"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.15.3"
}
]
}
],
"package": {
"name": "github.com/labstack/echo/v4",
"purl": "pkg:golang/github.com/labstack/echo/v4",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2026-6885.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "github.com/labstack/echo/v4/middleware",
"symbols": [
"Static",
"StaticWithConfig"
]
},
{
"path": "github.com/labstack/echo/v4",
"symbols": [
"Echo.Static",
"Echo.StaticFS",
"Group.Static",
"Group.StaticFS",
"StaticDirectoryHandler"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/labstack/echo/security/advisories/GHSA-xwq5-6cqp-vx96",
"type": "ADVISORY"
},
{
"url": "https://github.com/labstack/echo/commit/a9ede66a5a7196411131beb1ee801e75bbaf7ac6",
"type": "FIX"
},
{
"url": "https://github.com/labstack/echo/commit/c3fa2a27ff92b2b8db360de614f999ef1da24725",
"type": "FIX"
},
{
"url": "https://github.com/labstack/echo/pull/3006",
"type": "FIX"
},
{
"url": "https://github.com/labstack/echo/issues/2599",
"type": "REPORT"
},
{
"url": "https://github.com/labstack/echo/releases/tag/v4.15.3",
"type": "WEB"
},
{
"url": "https://github.com/labstack/echo/releases/tag/v5.2.0",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2026-6885",
"review_status": "REVIEWED"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | github.com/labstack/echo/v4 | Not a distribution channel | 4.15.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:38.976ZArchived source JSON
Source publication: 2026-10-28T21:04:39.000Z
Source modification: 2026-11-05T23:26:17.528ZDocument fingerprint
cd7e0dbe7a53138b3e44880e94bfb79aaf1f7a7c443172587502ffa637a5c3de - OSVConsulted: 2026-11-19T12:52:38.976ZArchived source JSON
Source publication: 2026-11-05T22:54:32.000Z
Source modification: 2026-11-05T23:15:16.470ZDocument fingerprint
cd7e0dbe7a53138b3e44880e94bfb79aaf1f7a7c443172587502ffa637a5c3de - FIRST EPSSConsulted: 2026-11-19T18:27:15.258ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f96a3b3c08471c3833be96cee820e0239fd0b51813799ca70e4ed37c577162ef - CVE ProgramConsulted: 2026-11-19T12:58:00.998ZArchived source JSON
Source publication: 2026-10-28T20:03:56.897Z
Source modification: 2026-10-29T18:29:50.622ZDocument fingerprint
db6e2766ff9eddc1bbb5a8e3b84715b1e37aa8d76b72a96d536ab1ba5e86dccb - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence