AploSec / Disclosures / CVE-2026-110637

ReproducedFixed in 0.2.2CWE-78npm

buildebooks before 0.2.2 OS Command Injection via kindlegen EPUB File Name

CVE-2026-110637 · published 2026-10-14

Summary

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.

References

Package
buildebooks
Ecosystem
npm
Weekly downloads
6
Affected
< 0.2.2
Fixed
0.2.2
Weakness
CWE-78
CNA
VulnCheck
Credit
Zachariah Mithani