CVE-2022-28923 Open Redirect in Caddy
Attackers can redirect users to phishing sites via crafted URLs in Caddy, requiring an upgrade to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-28923?
CVE-2022-28923 is a medium-severity vulnerability in n/a, published on 6 Feb 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Caddy v2.4.6 was discovered to contain an open redirection vulnerability which allows attackers to redirect users to phishing websites via crafted URLs.
Weakness: CWE-601
Which versions are affected by CVE-2022-28923?
3 open source packages ship an affected version, including github.com/caddyserver/caddy/v2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/caddyserver/caddy/v2 Go | All versions | 2.5.0-beta.1 |
github.com/caddyserver/caddy/v2 Go | All versions | 2.5.0-beta.1 |
github.com/caddyserver/caddy/v2 Go | All versions | 2.5.0-beta.1 |
Products include Caddyserver Caddy.
How do I fix CVE-2022-28923?
Upgrade github.com/caddyserver/caddy/v2 to 2.5.0-beta.1 or later.
Is CVE-2022-28923 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-28923 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in n/a
- CVE-2018-21246 Caddy vulnerable to Authentication Bypass due to mishandling of TLS client authentication
- CVE-2026-27590 Caddy: Unicode case-folding length expansion causes incorrect split_path index in FastCGI transport
- CVE-2026-27586 Caddy's mTLS client authentication silently fails open when CA certificate file is missing or malformed
- CVE-2026-45135 Caddy: Unsafe Unicode Handling in FastCGI splitPos Allows Execution of Non-PHP Files
- CVE-2026-52845 Caddy: FastCGI header normalization bypass in `forward_auth copy_headers`
Sources
Also known as DEBIAN-CVE-2022-28923, GHSA-qpm3-vr34-h8w8, GO-2023-1567.