AploSec / Disclosures / CVE-2026-110637
buildebooks before 0.2.2 OS Command Injection via kindlegen EPUB File Name
CVE-2026-110637 · published 2026-10-14
In plain words: this type of bug lets someone run their own commands on the server (command injection). A fixed release is listed.
Summary
CVE-2026-110637 affects buildebooks (npm) < 0.2.2: Command injection via kindlegen EPUB File Name (CWE-78). Fixed in 0.2.2. CVSS 4.0 base score 8.5 (High), assigned by VulnCheck. Published 2026-10-14 by VulnCheck. Credit: Zachariah Mithani.
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.
Evidence
The exploit was run against the published artifact from the registry, not the repository. It created a marker file; a benign input through the same sink in the same session did not.
Remediation
Upgrade buildebooks to 0.2.2 or later. Releases in the affected range (< 0.2.2) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-10-14 CVE published
- 2026-10-28 Public record last updated
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/buildebooks-before-0.2.2-os-command-injection-via-kindlegen-epub-file-name
- Fix pull requesthttps://github.com/wastemobile/buildebooks/pull/12
- Vulnerable codehttps://github.com/wastemobile/buildebooks/blob/7fc313485447d9359fb38fda3cbc2ed60ce69fe7/lib/kindle.js#L5-L12
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-110637
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-110637
- Fix commithttps://github.com/wastemobile/buildebooks/commit/123776c9ef61e8075ada2f7da2f7046f6a8078d9
- Severity
- High 8.5CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- buildebooks
- Ecosystem
- npm
- Affected
- < 0.2.2
- Fixed
- 0.2.2
- Weakness
- CWE-78
- CNA
- VulnCheck
- Credit
- Zachariah Mithanifinder