Advisory

PYSEC-2026-1232

Also known as: 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.

Severity

Medium Basis: CVSS v3 score 4.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

calibreweb

PyPI · All systems

Affected

  • introduced 0, fixed 0.6.15 (ecosystem)

Fixed versions

0.6.15

Fix

  • Fixed version 0.6.15
    pip install --upgrade calibreweb==0.6.15

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences