AploSec / Disclosures / CVE-2026-110637

High 8.5ReproducedFixed 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

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

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