Server-Side Request Forgery in calibrewebGHSA-h65g-jfqg-2w6m
CRITICALFix: janeczku/calibre-web@965352cGHSA-h65g-jfqg-2w6m is a critical-severity (CVSS 9.9) Server-Side Request Forgery (SSRF) vulnerability in calibreweb. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for calibreweb — see the affected versions and patch details below.
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
calibrewebReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
calibreweb prior to version 0.6.17 is vulnerable to server-side request forgery (SSRF). This is a result of incomplete SSRF protection that can be bypassed via an HTTP redirect. An HTTP server set up to respond with a 302 redirect may redirect a request to localhost.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | calibreweb | all versions | 0.6.17pip install --upgrade 'calibreweb==0.6.17' |
Affected Products
calibre-webjaneczkuResearch 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 calibreweb, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update calibreweb to 0.6.17 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-h65g-jfqg-2w6m is resolved across your whole dependency graph.
Workarounds
Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.
Frequently Asked Questions
Is GHSA-h65g-jfqg-2w6m in your dependencies?
Find it across PyPI, including transitive dependencies.