CVE-2021-3986
MEDIUM 4.3CVSS 3.1Generation of Error Message Containing Sensitive Information in janeczku/calibre-web
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.
- Published
- 15 Nov 2024
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-209
- Also known as
- GHSA-m982-h4f8-g4hfPYSEC-2026-1232
- Sources
- NVDJSONOSV GHSA-m982-h4f8-g4hfJSONOSV PYSEC-2026-1232JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | janeczku | calibre-webcpe:2.3:a:janeczku:calibre-web:*:*:*:*:*:*:*:* |
< 0.6.15 | 0.6.15 |
| OSV | PyPI | calibreweb | < 0.6.15 | 0.6.15 |
References
- https://github.com/janeczku/calibre-web/commit/6f5390ead5df9779ac81fadefffb476e03f93548 · Patch, WEB
- https://huntr.com/bounties/394af194-61a7-4e33-b373-877d4c766fca · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-3986 · ADVISORY
- https://github.com/janeczku/calibre-web · PACKAGE
- https://pypi.org/project/calibreweb · PACKAGE
- https://github.com/advisories/GHSA-m982-h4f8-g4hf · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 15 Nov 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Nov 2024)