UnratedFix available
v4.16.2
Type: patchSources: Echo
Echo v4.16.2 fixes Basic authentication scheme parsing and strengthens CSRF token validation, including rejecting configurations that provide no recognized token extractors.
- Products
- github.com/labstack/echo/v4
- Affected versions
- Not specified
- Fixed versions
- v4.16.2
- CVEs
- Not specified
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 29 Oct 2026, 00:31 UTC · Revision 1
Source evidence
Echo v4.16.2 fixes Basic authentication scheme parsing and strengthens CSRF token validation, including rejecting configurations that provide no recognized token extractors.
Fixes Require a space after the case-insensitive Basic authentication scheme. Malformed schemes such as BasicX no longer invoke the credential validator. Valid credentials are still required. This adapts the v5 correction to v4's single-header API. #3188, backport of #3138, with credit to @Shubham-Padkonde. Reject empty cookie tokens and empty client tokens in CSRF validation. This is defense in depth; it does not introduce a new security advisory. #3189, backport of #3135, with credit to @hoangtaiki. Reject CSRFConfig.TokenLookup configurations that produce no recognized token extractors. Middleware creation now returns an error instead of silently skipping token validation. #3149, thanks to @orinnz; backport of the existing v5 validation in #3067.
github.com/labstack/echo/v4
Fixed versions: v4.16.2
Complete source record
{
"id": "f6227a4c36034912780ef3f1eedcf55c0e918007c506a899ed1c3303e36c8d8b",
"url": "https://github.com/labstack/echo/releases/tag/v4.16.2",
"method": "llm",
"payload": {
"kind": "patch",
"title": "v4.16.2",
"summary": "Echo v4.16.2 fixes Basic authentication scheme parsing and strengthens CSRF token validation, including rejecting configurations that provide no recognized token extractors.",
"evidence": "Fixes Require a space after the case-insensitive Basic authentication scheme. Malformed schemes such as BasicX no longer invoke the credential validator. Valid credentials are still required. This adapts the v5 correction to v4's single-header API. #3188, backport of #3138, with credit to @Shubham-Padkonde. Reject empty cookie tokens and empty client tokens in CSRF validation. This is defense in depth; it does not introduce a new security advisory. #3189, backport of #3135, with credit to @hoangtaiki. Reject CSRFConfig.TokenLookup configurations that produce no recognized token extractors. Middleware creation now returns an error instead of silently skipping token validation. #3149, thanks to @orinnz; backport of the existing v5 validation in #3067.",
"products": [
{
"name": {
"value": "github.com/labstack/echo/v4",
"evidence": "Upgrade go get github.com/labstack/echo/v4@v4.16.2"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "v4.16.2",
"evidence": "Upgrade go get github.com/labstack/echo/v4@v4.16.2"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"fixed_cves": [],
"related_cves": [],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "github-labstack-echo",
"document_id": 21584,
"published_at": "2026-10-23T01:54:51+00:00"
}