CVE-2022-40083Labstack Echo
Critical 9.6 No auth needed
Follow: this CVE · Labstack · Labstack Echo We alert you by email or Slack (account required).
- Priority
- 73
- CVSS 3.1
- 9.6
- EPSS
- 3.5% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Sep 28, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
What happens
Labstack Echo v4.8.0 was discovered to contain an open redirect vulnerability via the Static Handler component. This vulnerability can be leveraged by attackers to cause a Server-Side Request Forgery (SSRF).
What to do
- Apply the vendor's security update for Echo.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/labstack/echo/v4 |
< 4.9.0 |
4.9.0 |
go get github.com/labstack/echo/v4@v4.9.0 |
| Go | github.com/labstack/echo/v4 |
< 4.9.0 |
4.9.0 |
go get github.com/labstack/echo/v4@v4.9.0 |
Per OSV / GitHub Advisories (GHSA-crxj-hrmp-4rwf, GO-2022-1031). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| labstack | echo | 4.8.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Patch