id: PYSEC-2026-1232 published: "2026-07-07T14:34:44.756067Z" modified: "2026-07-07T17:23:52.824913Z" aliases: - CVE-2021-3986 - GHSA-m982-h4f8-g4hf summary: Generation of Error Message Containing Sensitive Information in janeczku/calibre-web 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. affected: - package: name: calibreweb ecosystem: PyPI purl: pkg:pypi/calibreweb ranges: - type: ECOSYSTEM events: - introduced: "0" - fixed: 0.6.15 versions: - 0.6.12 - 0.6.13 - 0.6.14 references: - type: ADVISORY url: https://nvd.nist.gov/vuln/detail/CVE-2021-3986 - type: WEB url: https://github.com/janeczku/calibre-web/commit/6f5390ead5df9779ac81fadefffb476e03f93548 - type: PACKAGE url: https://github.com/janeczku/calibre-web - type: WEB url: https://huntr.com/bounties/394af194-61a7-4e33-b373-877d4c766fca - type: PACKAGE url: https://pypi.org/project/calibreweb - type: ADVISORY url: https://github.com/advisories/GHSA-m982-h4f8-g4hf severity: - type: CVSS_V3 score: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N