Go Vulnerability Database
GO-2026-6877
Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method in github.com/labstack/echo
Details
Echo has CSRF Protection Bypass via MethodOverride Rewriting POST to Safe Method in github.com/labstack/echo
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/labstack/echo/v4 | All versions before 4.16.0 (fixed in 4.16.0) |
| Go | github.com/labstack/echo/v5 | From 5.0.0 before 5.4.0 (fixed in 5.4.0) |
References
- https://github.com/labstack/echo/security/advisories/GHSA-r7w9-592q-9vg4
- https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1
- https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af
- https://github.com/labstack/echo/releases/tag/v4.16.0
- https://github.com/labstack/echo/releases/tag/v5.4.0