GHSA-qpm3-vr34-h8w8 is a medium-severity (CVSS 6.1) Open Redirect vulnerability in github.com/caddyserver/caddy/v2. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for github.com/caddyserver/caddy/v2 — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-qpm3-vr34-h8w8.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/caddyserver/caddy/v2Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/caddyserver/caddy/v2 | all versions | 2.5.0-beta.1go get github.com/caddyserver/caddy/v2@v2.5.0-beta.1 |
Affected Products
caddycaddyserverResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/caddyserver/caddy/v2, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/caddyserver/caddy/v2 to 2.5.0-beta.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-qpm3-vr34-h8w8 is resolved across your whole dependency graph.
Workarounds
Stop reflecting attacker-controlled destinations: resolve every redirect target against an allowlist of paths or hosts you own, prefer a server-side key over a full URL in the request, and reject absolute URLs entirely where the flow only ever needs a relative one.
How to detect GHSA-qpm3-vr34-h8w8
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id ghsa-qpm3-vr34-h8w8 -u https://target- Template
- Caddy 2.4.6 - Open Redirect
- Severity
- medium
- Impact
- Successful exploitation of this vulnerability could lead to phishing attacks, credential theft,.
- Remediation
- Upgrade Caddy to version 2.4.7 or later to mitigate the vulnerability.
Template by ProjectDiscovery nuclei-templates (Sascha Brendel, DhiyaneshDk), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is GHSA-qpm3-vr34-h8w8 in your dependencies?
Find it across Go, including transitive dependencies.