# CVE-2021-3986: Information Disclosure in janeczku/calibre-web

- Severity: Medium 4.3 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-15T10:52:21.551Z
- Modified: 2026-07-07T17:57:20.871Z
- Also known as: GHSA-m982-h4f8-g4hf, PYSEC-2026-1232
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

A vulnerability in janeczku/calibre-web allows unauthorized users to view the names of private shelves belonging to other users. This issue occurs in the file shelf.py at line 221, where the name of the shelf is exposed in an error message when a user attempts to remove a book from a shelf they do not own. This vulnerability discloses private information and affects all versions prior to the fix.

(As written by CVE List.)

## Affected

- janeczku janeczku/calibre-web: from unspecified up to latest
- calibre-web_project calibre-web: before *
- calibreweb (PyPI): before 0.6.15
- janeczku calibre-web: before 0.6.15

## Every score

- @huntr_ai: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://huntr.com/bounties/394af194-61a7-4e33-b373-877d4c766fca> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/janeczku/calibre-web/commit/6f5390ead5df9779ac81fadefffb476e03f93548> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3986> (advisory)
- <https://github.com/janeczku/calibre-web> (package)
- <https://pypi.org/project/calibreweb> (package)
- <https://github.com/advisories/GHSA-m982-h4f8-g4hf> (advisory)

## Sources

- CVE List: [CVE-2021-3986](https://www.cve.org/CVERecord?id=CVE-2021-3986), CVE Terms of Use, modified 2024-11-15
- GitHub Advisory Database: [GHSA-m982-h4f8-g4hf](https://github.com/advisories/GHSA-m982-h4f8-g4hf), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2021-3986](https://nvd.nist.gov/vuln/detail/CVE-2021-3986), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1232](https://osv.dev/vulnerability/PYSEC-2026-1232), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2021-3986 · Whole record: https://cve.day/CVE-2021-3986.json · Rebuilt by cve.day 2026-11-25T22:58:08.965Z
