CVE-2026-27824 calibre has IP Ban Bypass via X-Forwarded-For Header Spoofing
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 4 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/calibre(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/calibre(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/calibre(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/calibre(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| calibre-ebook calibre | < 9.4.0 | 9.4.0 | Fixed |
| debian/calibre(Debian 12) | < 6.13.0+repack-2+deb12u6; = 6.13.0+repack-2; = 6.13.0+repack-2+deb12u1; = 6.13.0+repack-2+deb12u2 +3 more | 6.13.0+repack-2+deb12u6 | Fixed |
| debian/calibre(Debian 13) | < 8.5.0+ds-1+deb13u2; = 8.5.0+ds-1; = 8.5.0+ds-1+deb13u1 | 8.5.0+ds-1+deb13u2 | Fixed |
| debian/calibre(Debian 14) | < 9.4.0+ds+~0.10.5-1; = 8.5.0+ds-1; = 8.6.0+ds-1; = 8.7.0+ds-1 +38 more | 9.4.0+ds+~0.10.5-1 | Fixed |
| kovidgoyal calibre | = < 9.4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kovidgoyal calibre | = < 9.4.0 | No fix listed |
| debian/calibre(Debian:12) | < 6.13.0+repack-2+deb12u6 | 6.13.0+repack-2+deb12u6 |
| debian/calibre(Debian:12) | = 6.13.0+repack-2 | No fix listed |
| debian/calibre(Debian:12) | = 6.13.0+repack-2+deb12u1 | No fix listed |
| debian/calibre(Debian:12) | = 6.13.0+repack-2+deb12u2 | No fix listed |
| debian/calibre(Debian:12) | = 6.13.0+repack-2+deb12u3 | No fix listed |
| debian/calibre(Debian:12) | = 6.13.0+repack-2+deb12u4 | No fix listed |
| debian/calibre(Debian:12) | = 6.13.0+repack-2+deb12u5 | No fix listed |
| debian/calibre(Debian:13) | < 8.5.0+ds-1+deb13u2 | 8.5.0+ds-1+deb13u2 |
| debian/calibre(Debian:13) | = 8.5.0+ds-1 | No fix listed |
| debian/calibre(Debian:13) | = 8.5.0+ds-1+deb13u1 | No fix listed |
| debian/calibre(Debian:14) | < 9.4.0+ds+~0.10.5-1 | 9.4.0+ds+~0.10.5-1 |
| debian/calibre(Debian:14) | = 8.10.0+ds-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.10.0+ds-2 | No fix listed |
| debian/calibre(Debian:14) | = 8.10.0+ds-3 | No fix listed |
| debian/calibre(Debian:14) | = 8.11.0+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.11.1+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.11.1+ds+~0.10.5-2 | No fix listed |
| debian/calibre(Debian:14) | = 8.11.1+ds+~0.10.5-3 | No fix listed |
| debian/calibre(Debian:14) | = 8.12.0+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.13.0+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.13.0+ds+~0.10.5-2 | No fix listed |
| debian/calibre(Debian:14) | = 8.13.0+ds+~0.10.5-3 | No fix listed |
| debian/calibre(Debian:14) | = 8.14.0+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.14.0+ds+~0.10.5-1~bpo13+1 | No fix listed |
Show 33 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/calibre(Debian:14) | = 8.15.0+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.15.0+ds+~0.10.5-1~bpo13+1 | No fix listed |
| debian/calibre(Debian:14) | = 8.15.0+ds+~0.10.5-2 | No fix listed |
| debian/calibre(Debian:14) | = 8.16.0+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.16.0+ds+~0.10.5-2 | No fix listed |
| debian/calibre(Debian:14) | = 8.16.1+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.16.2+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.16.2+ds+~0.10.5-2 | No fix listed |
| debian/calibre(Debian:14) | = 8.16.2+ds+~0.10.5-3 | No fix listed |
| debian/calibre(Debian:14) | = 8.16.2+ds+~0.10.5-3~bpo13+1 | No fix listed |
| debian/calibre(Debian:14) | = 8.5.0+ds-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.6.0+ds-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.7.0+ds-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.8.0+ds-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.8.0+ds-2 | No fix listed |
| debian/calibre(Debian:14) | = 8.8.0+ds-2+gcc15 | No fix listed |
| debian/calibre(Debian:14) | = 8.8.0+ds-3 | No fix listed |
| debian/calibre(Debian:14) | = 8.9.0+ds-1 | No fix listed |
| debian/calibre(Debian:14) | = 8.9.0+ds-2 | No fix listed |
| debian/calibre(Debian:14) | = 8.9.0+ds-3 | No fix listed |
| debian/calibre(Debian:14) | = 8.9.0+ds-4 | No fix listed |
| debian/calibre(Debian:14) | = 9.0.0+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 9.1.0+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 9.2.0+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 9.2.1+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 9.2.1+ds+~0.10.5-2 | No fix listed |
| debian/calibre(Debian:14) | = 9.3.0+ds+~0.10.5-1 | No fix listed |
| debian/calibre(Debian:14) | = 9.3.1+ds+~0.10.5-1 | No fix listed |
| ubuntu/calibre(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/calibre(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/calibre(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/calibre(Ubuntu:26.10) | All versions | No fix listed |
| calibre-ebook calibre | < 9.4.0 | 9.4.0 |
References
- https://github.com/kovidgoyal/calibre/security/advisories/GHSA-vhxc-r7v8-2xrw exploit vendor-advisory
- Debian Security Tracker CVE-2026-27824 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org