PyPA Advisory Database
PYSEC-2026-1229
Improper Access Control in janeczku/calibre-web
Details
An improper access control vulnerability exists in janeczku/calibre-web. The affected version allows users without public shelf permissions to create public shelves. The vulnerability is due to the create_shelf method in shelf.py not verifying if the user has the necessary permissions to create a public shelf. This issue can lead to unauthorized actions being performed by users.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | calibreweb | All versions before 0.6.15 (fixed in 0.6.15) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-3987
- https://github.com/janeczku/calibre-web/commit/bcdc97641447965af486964537f3821f47b28874
- https://github.com/janeczku/calibre-web
- https://huntr.com/bounties/29fcc091-87b6-43bc-ab4b-3c0bec3f71df
- https://pypi.org/project/calibreweb
- https://github.com/advisories/GHSA-fj5v-w2jp-wqvj