# CVE-2021-4171: Business Logic Errors in janeczku/calibre-web

- Severity: High 7.7 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H`
- 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): 1.46%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-17T09:45:10.000Z
- Modified: 2026-10-27T16:30:05.977Z
- Also known as: GHSA-xp7p-3gx7-j6wx, PYSEC-2026-307
- Weaknesses: CWE-840
- Assigned by: @huntrdev

## Description

calibre-web is vulnerable to Business Logic Errors

(As written by CVE List.)

## Affected

- janeczku janeczku/calibre-web: from unspecified before 0.6.15
- calibreweb (PyPI): before 0.6.15
- janeczku calibre-web: before 0.6.15

## Every score

- @huntrdev: CVSS:3.0 7.7 High `CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.dev/bounties/1117f439-133c-4563-afb2-6cd80607bd5c> (exploit, patch, third-party-advisory, web)
- <https://github.com/janeczku/calibre-web/commit/3e0d8763c377d2146462811e3e4ccf13f0d312ce> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4171> (advisory)
- <https://github.com/janeczku/calibre-web> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/calibreweb/PYSEC-2026-307.yaml> (web)
- <https://pypi.org/project/calibreweb> (package, web)
- <https://github.com/advisories/GHSA-xp7p-3gx7-j6wx> (advisory)

## Sources

- CVE List: [CVE-2021-4171](https://www.cve.org/CVERecord?id=CVE-2021-4171), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-xp7p-3gx7-j6wx](https://github.com/advisories/GHSA-xp7p-3gx7-j6wx), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2021-4171](https://nvd.nist.gov/vuln/detail/CVE-2021-4171), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-307](https://osv.dev/vulnerability/PYSEC-2026-307), CC-BY-4.0, modified 2026-07-01

---

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