CVE-2026-110637
7.8HighPublished 14 Oct 2026 · NVD status: Deferred · AI triage by gemini-3.8-flash
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-78
Impact
Attackers can execute arbitrary OS commands as the local user running buildebooks. To exploit it, they must trick a user into processing a malicious book project with a crafted filename or folder name and kindle enabled.
Root cause
The package passes unsanitized EPUB filenames directly to kindlegen using child_process.exec in lib/kindle.js.
Affected systems
buildebooks versions prior to 0.2.2
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade buildebooks to version 0.2.2 or later. If upgrading must wait, avoid building untrusted book projects or disable the kindle option ('kindle: false') in your project configurations.
$ npm install -g buildebooks@latestAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
buildebooks before 0.2.2 contains an OS command injection vulnerability in lib/kindle.js that allows attackers to execute commands by supplying a crafted EPUB file name passed to kindlegen via child_process.exec. Attackers can craft a book project with a malicious front-matter filename or project folder name and kindle: true to execute OS commands as the user running buildebooks.
References
- https://github.com/wastemobile/buildebooks
- https://github.com/wastemobile/buildebooks/blob/7fc313485447d9359fb38fda3cbc2ed60ce69fe7/lib/kindle.js#L5-L12
- https://github.com/wastemobile/buildebooks/commit/123776c9ef61e8075ada2f7da2f7046f6a8078d9
- https://github.com/wastemobile/buildebooks/pull/12
- https://www.vulncheck.com/advisories/buildebooks-before-0.2.2-os-command-injection-via-kindlegen-epub-file-name