CVE-2026-110637: buildebooks before 0.2.2 OS Command Injection via kindlegen EPUB File Name

Published Oct 14, 2026
·
Updated

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

Affected Software

1 affected component
npm/buildebooks<0.2.2

Event History

Oct 14, 2026
CVE Published
via MITRE·02:17 PM
Data Sourced
via MITRE·02:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users running buildebooks versions before 0.2.2 are exposed when they build a book project that enables Kindle generation with "kindle: true". The commands execute with the privileges of the user running buildebooks.

2

What does an attacker need to exploit it?

An attacker needs to cause a user to process a crafted book project. The malicious input can be a front-matter filename or the project folder name, and exploitation requires the Kindle build path to be enabled.

3

Are projects affected by default?

The vulnerable command path is used when "kindle: true" is configured. The provided information does not indicate that Kindle generation is enabled by default.

4

What can be done if upgrading is not immediately possible?

Do not run affected versions on untrusted book projects, and avoid enabling "kindle: true" for projects whose filenames or folder names are not trusted. Run buildebooks with a low-privileged account to limit the impact of command execution.

5

How can I identify potentially affected builds?

Check whether the installed buildebooks version is earlier than 0.2.2 and whether projects are built with "kindle: true". Review project folder names and front-matter filenames for attacker-controlled or unexpected shell-command content.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203