PyPA Advisory Database
PYSEC-2026-304
Server-Side Request Forgery in calibreweb
Details
calibreweb prior to version 0.6.17 is vulnerable to server-side request forgery (SSRF). This is due to an incomplete fix for CVE-2022-0339. The blacklist does not check for 0.0.0.0, which would result in a payload of 0.0.0.0 resolving to localhost.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | calibreweb | All versions before 0.6.17 (fixed in 0.6.17) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-0766
- https://github.com/janeczku/calibre-web/commit/965352c8d96c9eae7a6867ff76b0db137d04b0b8
- https://github.com/janeczku/calibre-web
- https://huntr.dev/bounties/7f2a5bb4-e6c7-4b6a-b8eb-face9e3add7b
- https://pypi.org/project/calibreweb
- https://github.com/advisories/GHSA-2647-c639-qv2j