Security advisory
A vulnerability in janeczku/calibre-web allows unauthorized users to view the names of private shelves belonging to other users. This issue occurs in the file shelf.py at line 221, where the name of the shelf is exposed in an error message when a user attempts to remove a book from a shelf they do not own. This vulnerability discloses private information and affects all versions prior to the fix.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-3986
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:54 UTC · Revision 1
Source evidence
A vulnerability in janeczku/calibre-web allows unauthorized users to view the names of private shelves belonging to other users. This issue occurs in the file shelf.py at line 221, where the name of the shelf is exposed in an error message when a user attempts to remove a book from a shelf they do not own. This vulnerability discloses private information and affects all versions prior to the fix.
osv:CVE-2021-3986
Complete source record
{
"id": "0d038b314c95644d3ff40582e58c0b23eacc9a2e1215b5d3e7fa197e7c15ee7c",
"url": "https://osv.dev/vulnerability/CVE-2021-3986",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-3986",
"summary": "A vulnerability in janeczku/calibre-web allows unauthorized users to view the names of private shelves belonging to other users. This issue occurs in the file shelf.py at line 221, where the name of the shelf is exposed in an error message when a user attempts to remove a book from a shelf they do not own. This vulnerability discloses private information and affects all versions prior to the fix.",
"evidence": "osv:CVE-2021-3986",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-3986",
"aliases": [
"CVE-2021-3986",
"GHSA-m982-h4f8-g4hf",
"PYSEC-2026-1232"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/janeczku/calibre-web",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "b564a97cdfc22c0e31e0ae18c6ed2b4320b40e50"
},
{
"fixed": "6f5390ead5df9779ac81fadefffb476e03f93548"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:janeczku:calibre-web:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.6.15"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "6f5390ead5df9779ac81fadefffb476e03f93548"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.6.14",
"0.6.13",
"0.6.12",
"0.6.11",
"0.6.10",
"0.6.9",
"0.6.8",
"0.6.7",
"0.6.6",
"0.6.5",
"0.6.3",
"0.6.2",
"0.6.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3986.json"
}
}
],
"modified": "2026-10-20T10:54:54.823727178Z",
"provider": "osv",
"references": [
"https://github.com/janeczku/calibre-web/commit/6f5390ead5df9779ac81fadefffb476e03f93548",
"https://huntr.com/bounties/394af194-61a7-4e33-b373-877d4c766fca"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-3986",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386453,
"published_at": "2024-11-15T11:15:06.4+00:00"
}