CVE-2022-0339: Server-Side Request Forgery in calibreweb
Summary
CVE-2022-0339: Server-Side Request Forgery in calibreweb. Affects calibreweb versions < 0.6.16. Fixed in 0.6.16. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
calibreweb is a Python package available on PyPI that provides a web interface for managing and accessing the Calibre e-book library. It allows users to browse, search, and download e-books from their Calibre library remotely. This vulnerability affects calibreweb versions prior to 0.6.16.
Vulnerability Detail
The vulnerability identified as CVE-2022-0339 is a Server-Side Request Forgery (SSRF) vulnerability. This type of vulnerability allows an attacker to make arbitrary requests from the vulnerable server, potentially leading to unauthorized access to internal resources or services. In the case of calibreweb, an attacker could exploit this vulnerability to perform actions on behalf of the server, such as accessing sensitive information or initiating network scans.
How To Fix
Latest published version: 0.6.27 as of 22 Oct 2026
pip install --upgrade "calibreweb==0.6.27"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
0.6.16
This is the first release that contains the fix.
pip install --upgrade "calibreweb==0.6.16"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Conclusion
In conclusion, calibreweb versions prior to 0.6.16 are affected by a Server-Side Request Forgery (SSRF) vulnerability. Users are advised to upgrade to the latest version to mitigate the risk. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for calibreweb →
FAQ
calibreweb is a Python package that provides a web interface for managing and accessing the Calibre e-book library.
A Server-Side Request Forgery (SSRF) vulnerability allows an attacker to make arbitrary requests from the vulnerable server, potentially leading to unauthorized access to internal resources or services.
Exploiting this vulnerability in calibreweb could allow an attacker to access sensitive information or perform actions on behalf of the server, such as initiating network scans.
To fix this vulnerability, it is recommended to upgrade calibreweb to version 0.6.16 or later.
For more information about this vulnerability, you can refer to the CVE-2022-0339 entry or the GitHub advisory database.
References
Related vulnerabilities
Recent vulnerabilities recorded for calibreweb.