CVE-2021-3987
MEDIUM 4.3CVSS 3.1Improper Access Control in janeczku/calibre-web
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
- 15 Nov 2024
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-284CWE-862
- Also known as
- GHSA-fj5v-w2jp-wqvjPYSEC-2026-1229
- Sources
- NVDJSONOSV GHSA-fj5v-w2jp-wqvjJSONOSV PYSEC-2026-1229JSON
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:N/I:L/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/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/bcdc97641447965af486964537f3821f47b28874 · Patch, WEB
- https://huntr.com/bounties/29fcc091-87b6-43bc-ab4b-3c0bec3f71df · Exploit, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-3987 · ADVISORY
- https://github.com/janeczku/calibre-web · PACKAGE
- https://pypi.org/project/calibreweb · PACKAGE
- https://github.com/advisories/GHSA-fj5v-w2jp-wqvj · 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)