Nixpkgs Security Tracker

Login with GitHub

Details of issue NIXPKGS-2026-0504

NIXPKGS-2026-0504
published on 3 Mar 2026
updated 5 days, 21 hours ago by @LeSuisse Activity log
  • Created automatic suggestion
  • @LeSuisse removed package calibre-web
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
calibre has IP Ban Bypass via X-Forwarded-For Header Spoofing

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.

Affected products

calibre
  • ==< 9.4.0

Matching in nixpkgs

Ignored packages (1)

Package maintainers

Upstream advisory: https://github.com/kovidgoyal/calibre/security/advisories/GHSA-vhxc-r7v8-2xrw