CVE-2026-27824CWE-307CWE-346

calibre has IP Ban Bypass via X-Forwarded-For Header Spoofing

Medium · published February 27, 2026

CVSS v3.1
5.3
EPSS
0%
Percentile
8.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00195 · 8.7th percentile
Weaknesses
CWE-307 · Improper Restriction of Excessive Authentication Attempts; CWE-346 · Origin Validation Error
Published
2026-02-27T19:46Z
EPSS history
Timeline
  • 27 FEB 19:46Z
    calibre has IP Ban Bypass via X-Forwarded-For Header Spoofing
    cvelistv5