GO-2026-6839

Source
https://pkg.go.dev/vuln/GO-2026-6839
Import Source
https://vuln.go.dev/ID/GO-2026-6839.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6839
Aliases
Published
2026-11-05T22:54:11Z
Modified
2026-11-05T23:26:10Z
Summary
Echo: Rejected WebSocket upgrades can bypass Echo route-level access controls in github.com/labstack/echo
Details

Echo: Rejected WebSocket upgrades can bypass Echo route-level access controls in github.com/labstack/echo

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-6839"
}
References

Affected packages

Go / github.com/labstack/echo/v4

Package

Name
github.com/labstack/echo/v4
View open source insights on deps.dev
Purl
pkg:golang/github.com/labstack/echo/v4

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0
Fixed
4.16.1

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/labstack/echo/v4/middleware",
            "symbols": [
                "BodyDump",
                "BodyDumpWithConfig",
                "Decompress",
                "DecompressWithConfig",
                "Proxy",
                "ProxyWithConfig",
                "proxyHTTP",
                "proxyRaw"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6839.json"

Go / github.com/labstack/echo/v5

Package

Name
github.com/labstack/echo/v5
View open source insights on deps.dev
Purl
pkg:golang/github.com/labstack/echo/v5

Affected ranges

Type
SEMVER
Events
Introduced
5.0.0
Fixed
5.4.1

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/labstack/echo/v5/middleware",
            "symbols": [
                "AddTrailingSlash",
                "AddTrailingSlashWithConfig",
                "BasicAuth",
                "BasicAuthWithConfig",
                "BodyDump",
                "BodyDumpConfig.ToMiddleware",
                "BodyDumpWithConfig",
                "BodyLimit",
                "BodyLimitWithConfig",
                "CORS",
                "CORSConfig.ToMiddleware",
                "CORSWithConfig",
                "CSRF",
                "CSRFConfig.ToMiddleware",
                "CSRFWithConfig",
                "ContextTimeout",
                "ContextTimeoutWithConfig",
                "CreateExtractors",
                "Decompress",
                "DecompressWithConfig",
                "Gzip",
                "GzipWithConfig",
                "HTTPSNonWWWRedirect",
                "HTTPSNonWWWRedirectWithConfig",
                "HTTPSRedirect",
                "HTTPSRedirectWithConfig",
                "HTTPSWWWRedirect",
                "HTTPSWWWRedirectWithConfig",
                "KeyAuth",
                "KeyAuthConfig.ToMiddleware",
                "KeyAuthWithConfig",
                "MethodOverride",
                "MethodOverrideWithConfig",
                "NonWWWRedirect",
                "NonWWWRedirectWithConfig",
                "PanicStackError.Error",
                "Proxy",
                "ProxyConfig.ToMiddleware",
                "ProxyWithConfig",
                "RateLimiter",
                "RateLimiterMemoryStore.AllowContext",
                "RateLimiterWithConfig",
                "Recover",
                "RecoverWithConfig",
                "RemoveTrailingSlash",
                "RemoveTrailingSlashWithConfig",
                "RequestID",
                "RequestIDWithConfig",
                "RequestLogger",
                "RequestLoggerConfig.ToMiddleware",
                "RequestLoggerWithConfig",
                "Rewrite",
                "RewriteConfig.ToMiddleware",
                "RewriteWithConfig",
                "Secure",
                "SecureConfig.ToMiddleware",
                "SecureWithConfig",
                "Static",
                "StaticConfig.ToMiddleware",
                "StaticWithConfig",
                "WWWRedirect",
                "WWWRedirectWithConfig",
                "bodyDumpResponseWriter.Flush",
                "bodyDumpResponseWriter.Hijack",
                "bodyDumpResponseWriter.Write",
                "bodyDumpResponseWriter.WriteHeader",
                "gzipResponseWriter.Flush",
                "gzipResponseWriter.Hijack",
                "gzipResponseWriter.Write",
                "gzipResponseWriter.WriteHeader",
                "limitedGzipReader.Read",
                "limitedReader.Close",
                "limitedReader.Read",
                "limitedWriter.Write",
                "proxyHTTP",
                "proxyRaw"
            ]
        },
        {
            "path": "github.com/labstack/echo/v5",
            "symbols": [
                "ExtractIPFromRealIPHeader"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6839.json"