{"id":"CVE-2021-3987","aliases":["GHSA-fj5v-w2jp-wqvj","PYSEC-2026-1229"],"url":"https://o3.security/vulnerability/CVE-2021-3987","summary":"Improper Access Control in janeczku/calibre-web","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.","published":"2024-11-15T11:15:06.610Z","modified":"2026-07-08T22:14:09.888566Z","cvss":{"score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"calibreweb","fixedVersion":"0.6.15"}],"fix":{"url":"https://github.com/janeczku/calibre-web/commit/bcdc97641447965af486964537f3821f47b28874","label":"janeczku/calibre-web@bcdc976"},"references":[{"type":"FIX","url":"https://github.com/janeczku/calibre-web/commit/bcdc97641447965af486964537f3821f47b28874"},{"type":"EVIDENCE","url":"https://huntr.com/bounties/29fcc091-87b6-43bc-ab4b-3c0bec3f71df"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T22:14:09.888566Z"}}