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.
Published: 2026-10-14
Score: 8.5 High
EPSS: 1.1% Low
KEV: No
Impact: OS Command Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability in the JavaScript library of the e‑book building tool allows an attacker to inject operating‑system commands through the EPUB file name. When a book project is processed, the kindlegen executable is called via the Node.js child_process.exec function with the supplied file name, giving the attacker the ability to run arbitrary shell commands as the user executing the tool. The CVE description indicates the possibility of arbitrary command execution; this could lead to confidentiality, integrity, or availability impacts, but those specific consequences are inferred rather than explicitly stated. The vulnerability is rated with a CVSS score of 8.5.

Affected Systems

Versions of the e‑book builder prior to 0.2.2, distributed by the vendor wastemobile under the product name buildebooks, are affected. Any deployment using these pre‑0.2.2 releases is vulnerable, regardless of platform, as the flaw resides in the core kindlegen module.

Risk and Exploitability

The exploit requires an attacker to create a maliciously named EPUB file or project folder, enable the kindle processing option, and then trigger the build. An EPSS score of 1% indicates a low but non‑zero probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The high CVSS score of 8.5 indicates significant potential impact if exploited, resulting in OS command execution with the privileges of the buildebooks process owner.

Generated by OpenCVE AI on October 15, 2026 at 21:00 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to buildebooks version 0.2.2 or later, which removes the vulnerable child_process.exec usage
  • Disable the kindle option in project configurations or remove the 'kindle' flag from front‑matter to prevent the code path from being exercised
  • Validate or sanitize EPUB and project file names on input to reject characters that could be interpreted as command separators

Generated by OpenCVE AI on October 15, 2026 at 21:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Wastemobile
Wastemobile buildebooks
Vendors & Products Wastemobile
Wastemobile buildebooks

Thu, 15 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
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.
Title buildebooks before 0.2.2 OS Command Injection via kindlegen EPUB File Name
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Wastemobile Buildebooks
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-14T18:16:18.303Z

Reserved: 2026-10-14T13:07:32.393Z

Link: CVE-2026-110637

cve-icon Vulnrichment

Updated: 2026-10-14T18:15:58.093Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:16.853

Modified: 2026-10-15T14:47:05.720

Link: CVE-2026-110637

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T13:08:28Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')