CVEMETERBack to radar
OFFICIAL RECORD · Go packages

CVE-2026-118264

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 9.1 · critical

Echo: Rejected WebSocket upgrades can bypass Echo route-level access controls

Echo is a Go web framework. From 4.0.0 until 4.16.1 and 5.4.1, Echo's Proxy middleware selects a raw tunnel from a client WebSocket upgrade request before verifying that the configured upstream accepted the upgrade. If the upstream rejects the upgrade with an ordinary keep-alive response, later HTTP requests on the connection are sent directly to that upstream without passing through Echo's router or route-specific middleware. This can bypass authentication or authorization enforced only by Echo routes, but requires an accessible proxy route, a cooperating rejected-upgrade response, and a target without independent upstream authorization. This issue is fixed in 4.16.1 and 5.4.1.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.430% · 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 4.0 · 9.1 · published by GitHub_M
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:57:59.941Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T18:36:01.564ZCISA KEV
cvssverified2026-11-19T12:57:59.941ZCVE Program
epssverified2026-11-19T18:27:15.258ZFIRST EPSS
patchesverified2026-11-19T12:52:38.976ZOSV
affectedverified2026-11-19T12:57:59.941ZCVE Program
lifecycleverified2026-11-19T12:57:59.941ZCVE Program

Affected versions and configuration

labstack echo; default status: unknown: >= 4.0.0, < 4.16.1 [affected; scheme: unspecified]; >= 5.0.0, < 5.4.1 [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": ">= 4.0.0, < 4.16.1"
        },
        {
          "status": "affected",
          "version": ">= 5.0.0, < 5.4.1"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-118264",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "total"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-10-30T19:20:57.948930Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-10-30T19:21:07.156Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-cxf3-9h37-7rr8",
  "aliases": [
    "CVE-2026-118264",
    "GO-2026-6839"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "4.0.0"
            },
            {
              "fixed": "4.16.1"
            }
          ]
        }
      ],
      "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-cxf3-9h37-7rr8/GHSA-cxf3-9h37-7rr8.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/labstack/echo/security/advisories/GHSA-cxf3-9h37-7rr8",
      "type": "WEB"
    },
    {
      "url": "https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec",
      "type": "WEB"
    },
    {
      "url": "https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f",
      "type": "WEB"
    },
    {
      "url": "https://github.com/labstack/echo",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/labstack/echo/releases/tag/v4.16.1",
      "type": "WEB"
    },
    {
      "url": "https://github.com/labstack/echo/releases/tag/v5.4.1",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-444",
      "CWE-863"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "nvd_published_at": null,
    "github_reviewed_at": "2026-10-23T20:49:37Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GO-2026-6839",
  "aliases": [
    "CVE-2026-118264",
    "GHSA-cxf3-9h37-7rr8"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "4.0.0"
            },
            {
              "fixed": "4.16.1"
            }
          ]
        }
      ],
      "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-6839.json"
      },
      "ecosystem_specific": {
        "imports": [
          {
            "path": "github.com/labstack/echo/v4/middleware",
            "symbols": [
              "BodyDump",
              "BodyDumpWithConfig",
              "Decompress",
              "DecompressWithConfig",
              "Proxy",
              "ProxyWithConfig",
              "proxyHTTP",
              "proxyRaw"
            ]
          }
        ]
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/labstack/echo/security/advisories/GHSA-cxf3-9h37-7rr8",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/labstack/echo/commit/1855061e572ae9dab727c811d8382f266bfbaaec",
      "type": "FIX"
    },
    {
      "url": "https://github.com/labstack/echo/commit/3fb0ba7e17645bb65611e2a08875d0a2f65c421f",
      "type": "FIX"
    },
    {
      "url": "https://github.com/labstack/echo/releases/tag/v4.16.1",
      "type": "WEB"
    },
    {
      "url": "https://github.com/labstack/echo/releases/tag/v5.4.1",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "url": "https://pkg.go.dev/vuln/GO-2026-6839",
    "review_status": "REVIEWED"
  }
}
Archived source JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryGo / packagegithub.com/labstack/echo/v4Not a distribution channel4.16.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history