CVE-2026-110637

buildebooks before 0.2.2 OS Command Injection via kindlegen EPUB File Name

Published Oct 14, 2026 CVSS 4.0 · 8.5 High EPSS 1.1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
First Time appeared Wastemobile
Wastemobile buildebooks
Vendors & Products Wastemobile
Wastemobile buildebooks
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 14, 2026, 6:16 PM
Reserved
Oct 14, 2026, 1:07 PM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 15, 2026, 2:47 PM