{"id":"CVE-2021-3987","details":"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.","aliases":["GHSA-fj5v-w2jp-wqvj"],"modified":"2026-04-10T04:37:31.595515Z","published":"2024-11-15T11:15:06.610Z","references":[{"type":"FIX","url":"https://github.com/janeczku/calibre-web/commit/bcdc97641447965af486964537f3821f47b28874"},{"type":"EVIDENCE","url":"https://huntr.com/bounties/29fcc091-87b6-43bc-ab4b-3c0bec3f71df"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/janeczku/calibre-web","events":[{"introduced":"0"},{"fixed":"b564a97cdfc22c0e31e0ae18c6ed2b4320b40e50"},{"fixed":"bcdc97641447965af486964537f3821f47b28874"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"0.6.15"}]}}],"versions":["0.6.0","0.6.10","0.6.11","0.6.12","0.6.13","0.6.14","0.6.2","0.6.3","0.6.5","0.6.6","0.6.7","0.6.8","0.6.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3987.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}