Advisory

PYSEC-2026-1229

Also known as: CVE-2021-3987, GHSA-fj5v-w2jp-wqvj

Summary

Improper Access Control in janeczku/calibre-web

Details

An improper access control vulnerability exists in janeczku/calibre-web. The affected version allows users without public shelf permissions to create public shelves. The vulnerability is due to the create_shelf method in shelf.py not verifying if the user has the necessary permissions to create a public shelf. This issue can lead to unauthorized actions being performed by users.

Severity

Medium Basis: CVSS v3 score 5.4, vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

calibreweb

PyPI · All systems

Affected

  • introduced 0, fixed 0.6.15 (ecosystem)

Fixed versions

0.6.15

Fix

  • Fixed version 0.6.15
    pip install --upgrade calibreweb==0.6.15

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences