CVEMETERBack to radar
OFFICIAL RECORD · Go packages

CVE-2026-118656

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 6.1 · medium

Echo: Open Redirect via Control-Character Prefix Defeating sanitizeURI

Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, sanitizeURI checks only the first two bytes of a redirect target before deciding whether it begins with an absolute-path separator pair. When AddTrailingSlash or RemoveTrailingSlash is configured with a redirect status, a slash, TAB, separator path form can evade the guard, be emitted in the Location header, and be normalized by a browser into an attacker-controlled host. This issue is fixed in 4.16.0 and 5.4.0.

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

Severity and exploitation evidence

EPSS: 0.197% · 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-19T16:57:41.748Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 6.1 · published by GitHub_M
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Assessment source · checked 2026-11-19T12:58:00.997Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssverified2026-11-19T12:58:00.997ZCVE Program
epssverified2026-11-19T16:04:45.325ZFIRST EPSS
patchesverified2026-11-19T12:52:38.976ZOSV
affectedverified2026-11-19T12:58:00.997ZCVE Program
lifecycleverified2026-11-19T12:58:00.997ZCVE Program

Affected versions and configuration

labstack echo; default status: unknown: >= 5.0.0, < 5.4.0 [affected; scheme: unspecified]; < 4.16.0 [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.4.0"
        },
        {
          "status": "affected",
          "version": "< 4.16.0"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-118656",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-10-29T15:29:15.771728Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-10-29T17:23:39.728Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-v753-g4cw-jm48",
  "aliases": [
    "CVE-2026-118656",
    "GO-2026-6883"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.16.0"
            }
          ]
        }
      ],
      "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-v753-g4cw-jm48/GHSA-v753-g4cw-jm48.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/labstack/echo/security/advisories/GHSA-v753-g4cw-jm48",
      "type": "WEB"
    },
    {
      "url": "https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1",
      "type": "WEB"
    },
    {
      "url": "https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af",
      "type": "WEB"
    },
    {
      "url": "https://github.com/labstack/echo",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/labstack/echo/releases/tag/v4.16.0",
      "type": "WEB"
    },
    {
      "url": "https://github.com/labstack/echo/releases/tag/v5.4.0",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-601"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": null,
    "github_reviewed_at": "2026-10-28T21:04:22Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GO-2026-6883",
  "aliases": [
    "CVE-2026-118656",
    "GHSA-v753-g4cw-jm48"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.16.0"
            }
          ]
        }
      ],
      "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-6883.json"
      },
      "ecosystem_specific": {
        "imports": [
          {
            "path": "github.com/labstack/echo/v4",
            "symbols": [
              "Echo.ServeHTTP",
              "Echo.Start",
              "Echo.StartAutoTLS",
              "Echo.StartH2CServer",
              "Echo.StartServer",
              "Echo.StartTLS",
              "Echo.Static",
              "Echo.StaticFS",
              "Group.Static",
              "Group.StaticFS",
              "StaticDirectoryHandler",
              "context.JSONP",
              "context.JSONPBlob",
              "context.Scheme",
              "context.jsonPBlob",
              "isValidProto",
              "sanitizeURI"
            ]
          },
          {
            "path": "github.com/labstack/echo/v4/middleware",
            "symbols": [
              "MethodOverride",
              "MethodOverrideWithConfig",
              "Proxy",
              "ProxyWithConfig",
              "Secure",
              "SecureWithConfig",
              "Static",
              "StaticWithConfig",
              "sanitizeURI"
            ]
          }
        ]
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/labstack/echo/security/advisories/GHSA-v753-g4cw-jm48",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1",
      "type": "FIX"
    },
    {
      "url": "https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af",
      "type": "FIX"
    },
    {
      "url": "https://github.com/labstack/echo/releases/tag/v4.16.0",
      "type": "WEB"
    },
    {
      "url": "https://github.com/labstack/echo/releases/tag/v5.4.0",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "url": "https://pkg.go.dev/vuln/GO-2026-6883",
    "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.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history