← Back to CVE Explorer

CVE-2026-55677

Full vulnerability record from the local CVENow database.

Description

Echo 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.

Severity
HIGH
CVSS score
7.5 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-06-26 17:16:34.203000
Last modified
2026-10-25 17:10:00.197000
View original CVE JSON
{
  "id": "CVE-2026-55677",
  "sourceIdentifier": "[email protected]",
  "published": "2026-06-26T17:16:34.203",
  "lastModified": "2026-10-25T17:10:00.197",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Echo 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."
    },
    {
      "lang": "es",
      "value": "Echo es un framework web de Go. Antes de las versiones 4.15.3 y 5.2.0, el router de Echo y el gestor de archivos estáticos no concuerdan en la decodificación de rutas URL. El router empareja rutas utilizando la ruta codificada en bruto (preservando %2F tal cual), mientras que StaticDirectoryHandler desescapa %2F a / antes de resolver las rutas del sistema de archivos. Esto permite a un atacante eludir los controles de acceso a nivel de ruta y leer archivos estáticos sin autorización. Esta vulnerabilidad está corregida en las versiones 4.15.3 y 5.2.0."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "labstack",
          "product": "echo",
          "versions": [
            {
              "version": "< 4.15.3",
              "status": "affected"
            },
            {
              "version": ">= 5.0.0, < 5.2.0",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "NONE",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-06-26T16:50:52.168170Z",
          "id": "CVE-2026-55677",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}