7.5 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): High (H)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): None (N)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
3 packages
- calibre-web
- calibre-no-speech
- pkgsRocm.calibre-no-speech
- @LeSuisse accepted
- @LeSuisse published on GitHub
calibre Content Server `/book-update-annotations` Missing Write Authorization Check Allows Unauthorized Annotation Modification
calibre is an e-book manager. Prior to 9.12.0, the calibre Content Server endpoint POST /book-update-annotations/{library_id}/{book_id}/{fmt} in src/calibre/srv/books.py omits needs_db_write=True, causing Router.dispatch() to skip ctx.check_for_write_access() before update_annotations() passes attacker-controlled JSON to db.merge_annotations_for_book(), which allows a readonly user or an anonymous user on an unauthenticated deployment to persist unauthorized book annotation changes. This issue is fixed in version 9.12.0.
References
-
https://github.com/kovidgoyal/calibre/security/advisories/GHSA-5x64-w63v-x2g6 x_refsource_CONFIRM
-
https://github.com/kovidgoyal/calibre/releases/tag/v9.12.0 x_refsource_MISC
Affected products
- ==< 9.12.0
Matching in nixpkgs
pkgs.calibre
Comprehensive e-book software
Ignored packages (3)
pkgs.calibre-web
Web app for browsing, reading and downloading eBooks stored in a Calibre database
-
nixos-unstable 0.6.26-unstable-2026-03-01
- nixpkgs-unstable 0.6.26-unstable-2026-03-01
- nixos-unstable-small 0.6.26-unstable-2026-03-01
-
nixos-26.05 0.6.26-unstable-2026-03-01
- nixos-26.05-small 0.6.26-unstable-2026-03-01
- nixpkgs-26.05-darwin 0.6.26-unstable-2026-03-01
pkgs.calibre-no-speech
Comprehensive e-book software
Package maintainers
-
@sempiternal-aurora Myria Sarvay <myrialsarvay@gmail.com>
-
@pSub Pascal Wittmann <mail@pascal-wittmann.de>
8.5 HIGH
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): Passive (P)
- Vulnerable System Impact Confidentiality (VC): High (H)
- Vulnerable System Impact Integrity (VI): High (H)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Passive (P)
- Modified Vulnerable System Impact Confidentiality (MVC): High (H)
- Modified Vulnerable System Impact Integrity (MVI): High (H)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
3 packages
- calibre-web
- calibre-no-speech
- pkgsRocm.calibre-no-speech
- @LeSuisse accepted
- @LeSuisse published on GitHub
calibre: Bypass of Python template restrictions via nested `template()` leading to RCE
calibre is an e-book manager. Prior to 9.12.0, calibre processes attacker-controlled composite_template metadata from a malicious EPUB, OPF, PDF, or similar file through program: and a nested template() call whose formatter does not inherit allow_python_templates=False, allowing a nested python: template to reach compile_python_template and execute arbitrary Python code when the file is opened or imported. This issue is fixed in version 9.12.0.
References
-
https://github.com/kovidgoyal/calibre/security/advisories/GHSA-4f7g-rjfp-hmvx x_refsource_CONFIRM
-
https://github.com/kovidgoyal/calibre/releases/tag/v9.12.0 x_refsource_MISC
Affected products
- ==< 9.12.0
Matching in nixpkgs
pkgs.calibre
Comprehensive e-book software
Ignored packages (3)
pkgs.calibre-web
Web app for browsing, reading and downloading eBooks stored in a Calibre database
-
nixos-unstable 0.6.26-unstable-2026-03-01
- nixpkgs-unstable 0.6.26-unstable-2026-03-01
- nixos-unstable-small 0.6.26-unstable-2026-03-01
-
nixos-26.05 0.6.26-unstable-2026-03-01
- nixos-26.05-small 0.6.26-unstable-2026-03-01
- nixpkgs-26.05-darwin 0.6.26-unstable-2026-03-01
pkgs.calibre-no-speech
Comprehensive e-book software
Package maintainers
-
@sempiternal-aurora Myria Sarvay <myrialsarvay@gmail.com>
-
@pSub Pascal Wittmann <mail@pascal-wittmann.de>