CVE-2021-3987: An improper access control vulnerability exists in janeczku/calibre-web
CVE-2021-3987 is a medium-severity flaw (CVSS 4.3) affecting calibre-web. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-3987?
calibre-web: upgrade to 0.6.15. Exact commands for each OS are on this page.
Is CVE-2021-3987 being exploited?
CVE-2021-3987 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-3987 affect?
CVE-2021-3987 affects calibre-web. Severity is medium (CVSS 4.3). 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 ve
How urgent is CVE-2021-3987?
Priority 27/100. Public exploit reference
Related CVEs
- CVE-2025-7404 CRITICAL 9.8 DOWNGRADE DOWNGRADE Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Ca
- CVE-2025-65858 LOW 3.5 DOWNGRADE A Stored Cross-Site Scripting (XSS) vulnerability in Calibre-Web v0.6.25 allows attackers to inject malicious
- CVE-2024-39123 MEDIUM 5.4 UPGRADE In janeczku Calibre-Web 0.6.0 to 0.6.21, the edit_book_comments function is vulnerable to Cross Site Scripting
- CVE-2021-3988 MEDIUM 6.1 UPGRADE A Cross-site Scripting (XSS) vulnerability exists in janeczku/calibre-web, specifically in the file `edit_book
- CVE-2021-3986 MEDIUM 4.3 UPGRADE A vulnerability in janeczku/calibre-web allows unauthorized users to view the names of private shelves belongi