# Echo has a Static Middleware Double-Unescape Path Traversal

Advisory record · `GHSA-xwq5-6cqp-vx96`

- **Identifiers:** `GHSA-xwq5-6cqp-vx96` · `CVE-2026-118655` · `GO-2026-6885`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-174](https://cwe.mitre.org/data/definitions/174.html)
- **Tags:** [CWE-174](https://agentprime.io/advisories/tag/cwe-174.md)
- **Published:** 28 Oct 2026
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 28 Oct 2026, 21:04 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/labstack/echo/v5` (Go): affected `<5.2.0`; fixed in `5.2.0`
- `github.com/labstack/echo/v4` (Go): affected `<4.15.3`; fixed in `4.15.3`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0030, the 23rd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:11 UTC: First seen by agentprime
- 31 Oct 2026, 14:11 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-xwq5-6cqp-vx96)

## Sources

- [GitHub Advisory Database: GHSA-xwq5-6cqp-vx96](https://github.com/advisories/GHSA-xwq5-6cqp-vx96)
- [OSV: GHSA-xwq5-6cqp-vx96](https://osv.dev/vulnerability/GHSA-xwq5-6cqp-vx96)
- <https://github.com/labstack/echo/security/advisories/GHSA-xwq5-6cqp-vx96>
- <https://github.com/labstack/echo/issues/2599>
- <https://github.com/labstack/echo/pull/3006>
- <https://github.com/labstack/echo/commit/a9ede66a5a7196411131beb1ee801e75bbaf7ac6>
- <https://github.com/labstack/echo/commit/c3fa2a27ff92b2b8db360de614f999ef1da24725>
- <https://github.com/labstack/echo>
- <https://github.com/labstack/echo/releases/tag/v4.15.3>
- <https://github.com/labstack/echo/releases/tag/v5.2.0>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-xwq5-6cqp-vx96>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-xwq5-6cqp-vx96/>. Everything for agents: <https://agentprime.io/llms.txt>.
