{"cve":"CVE-2021-3987","nvd":{"published":"2024-11-15T11:15:06.610","modified":"2026-06-17T04:06:20.773","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3},"cwes":["CWE-862","CWE-284"],"references":["https://github.com/janeczku/calibre-web/commit/bcdc97641447965af486964537f3821f47b28874","https://huntr.com/bounties/29fcc091-87b6-43bc-ab4b-3c0bec3f71df"],"products":["janeczku:calibre-web"],"source":"nvd","synced_at":"2026-10-19T21:57:07.693694550+00:00"},"epss":{"cve":"CVE-2021-3987","score":0.00346,"percentile":0.28226,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fj5v-w2jp-wqvj","url":"https://osv.dev/vulnerability/GHSA-fj5v-w2jp-wqvj","summary":"Improper Access Control in janeczku/calibre-web","modified":"2026-07-07T17:57:15.471145559Z","packages":[{"ecosystem":"PyPI","name":"calibreweb","purl":"pkg:pypi/calibreweb","ranges":["<0.6.15"],"fixed":["0.6.15"]}]},{"id":"PYSEC-2026-1229","url":"https://osv.dev/vulnerability/PYSEC-2026-1229","summary":"Improper Access Control in janeczku/calibre-web","modified":"2026-07-07T17:47:33.604787337Z","packages":[{"ecosystem":"PyPI","name":"calibreweb","purl":"pkg:pypi/calibreweb","ranges":["<0.6.15"],"fixed":["0.6.15"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}