CVE-2026-110637
7.8 HIGHpublic exploit availablePublished 2026-10-14 · Updated 2026-10-15
AI risk analysis
- Summary
- The buildebooks tool before version 0.2.2 passes unsanitized EPUB filenames to the kindlegen command via child_process.exec, enabling OS command injection when a malicious filename or project folder name is used in conjunction with a specially crafted EPUB file.
- Exploitability
- Exploitation requires user interaction (e.g., opening a malicious EPUB project) and local access, as the attack vector involves passing crafted filenames to a locally executed tool.
- Blast radius
- Successful exploitation allows full compromise of the affected system with the privileges of the user running buildebooks, including data theft, malware installation, or lateral movement.
- Detection
- Defenders should monitor for unexpected child processes spawned from buildebooks executions (e.g., shell commands like sh, bash, cmd.exe) and anomalous file operations involving unusual characters or command metacharacters in EPUB-related filenames or project paths.
- Prioritized remediation
- Upgrade to buildebooks version 0.2.2 or later, which addresses the OS command injection vulnerability in lib/kindle.js by sanitizing inputs before invoking kindlegen.
os-command-injectionrceepubchild-processinput-sanitization
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Public exploit & PoC references
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
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.