CVE-2022-29718
Open redirect in caddy
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
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.
- Record
CVE-2022-29718- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-29718- Updated
- 2026-11-02
EUVDEUVD-2022-5889 No score
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.
- Record
EUVD-2022-5889- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2927-hv3p-f3vp
6.1
Open redirect in caddy
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.
- Record
GHSA-2927-hv3p-f3vp- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
OSVGHSA-2927-hv3p-f3vp
6.1
Open redirect in caddy
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.
- Record
GHSA-2927-hv3p-f3vp- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2022-29718- Updated
- 2026-11-02
OSVopenSUSE-SU-2022:10007-1 No score
Security update for caddy
This update for caddy fixes the following issues:
Update to version 2.5.1:
- Fixed regression in Unix socket admin endpoints.
- Fixed regression in caddy trust commands.
- Hash-based load balancing policies (ip_hash, uri_hash, header, and cookie) use an improved highest-random-weight (HRW) algorithm for increased consistency.
- Dynamic upstreams, which is the ability to get the list of upstreams at every request (more specifically, every iteration in the proxy loop of every request) rather than just once at config-load time.
- Caddy will automatically try to get relevant certificates from the local Tailscale instance.
- New OpenTelemetry integration.
- Added new endpoints /pki/ca/<id> and /pki/ca/<id>/certificates for getting information about Caddy's managed CAs.
- Rename _caddy to zsh-completion
- Fix MatchPath sanitizing [bsc#1200279, CVE-2022-29718]
- Record
openSUSE-SU-2022:10007-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12132-1 No score
caddy-2.5.1-2.1 on GA media
These are all security issues fixed in the caddy-2.5.1-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12132-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/caddyserver/caddyGo |
before 2.5.0 | 2.5.0 |
github.com/caddyserver/caddy/v2Go |
before 2.5.0 | 2.5.0 |
caddySUSE:Package Hub 15 SP4 |
before 2.5.1-bp154.2.5.1 | 2.5.1-bp154.2.5.1 |
caddyopenSUSE:Leap 15.4 |
before 2.5.1-bp154.2.5.1 | 2.5.1-bp154.2.5.1 |
caddyopenSUSE:Tumbleweed |
before 2.5.1-2.1 | 2.5.1-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-29718 is a medium vulnerability (CVSS 6.1) in Caddyserver Caddy, published June 2, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.08%, the 65th percentile. Fixed in github.com/caddyserver/caddy 2.5.0.
References
github.com/caddyserver/caddy/pull/4499
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CP2VIUT5IKA3OKM6YWA5LTLJ2GTEIH7C
nvd.nist.gov/vuln/detail/CVE-2022-29718
github.com/caddyserver/caddy/pull/4499/commits/b23bdcf99cfbd09d50555a999a16468404789230
github.com/caddyserver/caddy/releases/tag/v2.5.0
lists.fedoraproject.org/archives/list/[email protected]/message/CP2VIUT5IKA3OKM6YWA5LTLJ2GTEIH7C