# CVE-2026-27824: calibre has IP Ban Bypass via X-Forwarded-For Header Spoofing

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/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.18%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-27T19:46:07.612Z
- Modified: 2026-06-17T10:27:44.763Z
- Weaknesses: CWE-307, CWE-346
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

calibre is a cross-platform e-book manager for viewing, converting, editing, and cataloging e-books. Prior to version 9.4.0, the calibre Content Server's brute-force protection mechanism uses a ban key derived from both `remote_addr` and the `X-Forwarded-For` header. Since the `X-Forwarded-For` header is read directly from the HTTP request without any validation or trusted-proxy configuration, an attacker can bypass IP-based bans by simply changing or adding this header, rendering the brute-force protection completely ineffective. This is particularly dangerous for calibre servers exposed to the internet, where brute-force protection is the primary defense against credential stuffing and password guessing attacks. Version 9.4.0 contains a fix for the issue.

(As written by CVE List.)

## Affected

- kovidgoyal calibre: < 9.4.0
- calibre-ebook calibre: before 9.4.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/kovidgoyal/calibre/security/advisories/GHSA-vhxc-r7v8-2xrw> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-27824](https://www.cve.org/CVERecord?id=CVE-2026-27824), CVE Terms of Use, modified 2026-03-02
- NVD: [CVE-2026-27824](https://nvd.nist.gov/vuln/detail/CVE-2026-27824), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27824 · Whole record: https://cve.day/CVE-2026-27824.json · Rebuilt by cve.day 2026-11-25T22:59:15.040Z
