{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-3987","id":"CVE-2021-3987","title":"Improper Access Control in janeczku/calibre-web","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.","descriptionLong":"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-15T10:52:29.478Z","updated":"2026-10-20T10:54:54.798258557Z","reserved":"2021-11-20T12:01:47.041Z","status":"Analyzed","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"@huntr_ai"},{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"huntr.dev"},{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["janeczku/calibre-web"],"affectedProducts":[{"vendor":"janeczku","product":"janeczku/calibre-web","defaultStatus":null,"versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"calibreweb","purl":"pkg:pypi/calibreweb","ranges":["<0.6.15"],"fixed":["0.6.15"],"advisory":"GHSA-fj5v-w2jp-wqvj"}],"cwes":["CWE-284","CWE-862"],"aliases":["GHSA-fj5v-w2jp-wqvj","PYSEC-2026-1229"],"references":[{"url":"https://huntr.com/bounties/29fcc091-87b6-43bc-ab4b-3c0bec3f71df","tags":["Exploit","evidence","web"]},{"url":"https://github.com/janeczku/calibre-web/commit/bcdc97641447965af486964537f3821f47b28874","tags":["Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3987","tags":["advisory"]},{"url":"https://github.com/janeczku/calibre-web","tags":["package"]},{"url":"https://pypi.org/project/calibreweb","tags":["package"]},{"url":"https://github.com/advisories/GHSA-fj5v-w2jp-wqvj","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00346,"epssPercentile":0.28797,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-3987","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3987","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-3987","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fj5v-w2jp-wqvj","ok":true,"note":"GHSA-fj5v-w2jp-wqvj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-3987","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}