CVE-2022-29718Caddyserver Caddy
Medium 6.1 No auth needed
Follow: this CVE · Caddyserver · Caddyserver Caddy We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- No
- Published
- Jun 2, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Caddy v2.4 was discovered to contain an open redirect vulnerability. A remote unauthenticated attacker may exploit this vulnerability to redirect users to arbitrary web URLs by tricking the victim users to click on crafted links.
What to do
- Apply the vendor's security update for Caddy.
- 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/caddyserver/caddy |
< 2.5.0 |
2.5.0 |
go get github.com/caddyserver/caddy@v2.5.0 |
| Go | github.com/caddyserver/caddy/v2 |
< 2.5.0 |
2.5.0 |
go get github.com/caddyserver/caddy/v2@v2.5.0 |
Per OSV / GitHub Advisories (GHSA-2927-hv3p-f3vp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| caddyserver | caddy | ≥ 2.4.0 < 2.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Third Party Advisory
- lists.fedoraproject.org