CVE-2026-142260: Calibre-Web through 0.6.27 Book Restriction Bypass via /ajax/book/<uuid>
Calibre-Web through 0.6.27 contains an authorization bypass vulnerability in the /ajax/book/<uuid> metadata endpoint that allows logged-in users or anonymous visitors to view hidden books by skipping commonfilters() restrictions. Attackers can supply unescaped SQL LIKE patterns such as % or partial uuids to enumerate restricted books and retrieve their titles, authors, descriptions, and formats.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any user who can access the affected endpoint may be able to exploit it, including logged-in users and anonymous visitors. Exposure therefore depends on whether anonymous access to the Calibre-Web instance is enabled or an attacker has a valid low-privilege account.
What access does an attacker need?
The attacker needs network access to the Calibre-Web instance and access to the /ajax/book/<uuid> endpoint. No user interaction is required, and the issue can be exploited with SQL LIKE-style patterns such as % or partial UUID values.
What information can be disclosed?
An attacker can enumerate books that should be hidden by restrictions and retrieve their titles, authors, descriptions, and available formats. The provided information does not indicate that the issue permits modification or deletion of books.
Are installations with default access controls affected?
The issue affects Calibre-Web through 0.6.27 because the endpoint skips common_filters() restrictions. Anonymous visitors are affected only where they can reach the endpoint; otherwise, a logged-in user can still potentially bypass book restrictions.
What can be done before patching?
Restrict access to the affected endpoint and prevent anonymous access where possible. Limit Calibre-Web network exposure to trusted users and accounts until the authorization handling is updated.