MEDIUM4.3
PYSEC-2026-1232
Generation of Error Message Containing Sensitive Information in janeczku/calibre-web
Quick fix
PYSEC-2026-1232 — calibreweb: upgrade to the fixed version with the command below.
pip install --upgrade 'calibreweb>=0.6.15'Details
A vulnerability in janeczku/calibre-web allows unauthorized users to view the names of private shelves belonging to other users. This issue occurs in the file shelf.py at line 221, where the name of the shelf is exposed in an error message when a user attempts to remove a book from a shelf they do not own. This vulnerability discloses private information and affects all versions prior to the fix.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-3986[ADVISORY]
- https://github.com/janeczku/calibre-web/commit/6f5390ead5df9779ac81fadefffb476e03f93548[WEB]
- https://github.com/janeczku/calibre-web[PACKAGE]
- https://huntr.com/bounties/394af194-61a7-4e33-b373-877d4c766fca[WEB]
- https://pypi.org/project/calibreweb[PACKAGE]
- https://github.com/advisories/GHSA-m982-h4f8-g4hf[ADVISORY]