IT SBIT Services
Schneeberger
DEEN
CVE tracker

buildebooks: OS command injection via kindlegen EPUB file name

CVE-2026-110637High 8.5

← All vulnerabilities

Summary

buildebooks, a command-line tool that builds ebooks with Pandoc and kindlegen, passes EPUB file names and project folder names to a shell command without proper neutralisation. An attacker who provides a crafted book project with a malicious front-matter filename or folder name and kindle: true can execute OS commands as the user who runs buildebooks. The attack requires a victim to process the crafted project locally, so the risk is mainly for build hosts that handle untrusted manuscripts.

Affected

  • buildebooks versions before 0.2.2 (affected range 0 to < 0.2.2)

Fixed in

  • Fixed in buildebooks 0.2.2 (fix commit 123776c9ef61e8075ada2f7da2f7046f6a8078d9, PR #12, which switches to an argument-array call instead of a shell call)

Workaround

  • Unknown. The vendor documents no workaround.
  • Not a mitigation according to the PR: the absence of kindlegen.
  • Recommended by us (not from the vendor): do not build projects from untrusted sources, do not use the Kindle output option (kindle: true) for them, and run builds in a sandboxed container or a low-privilege account.

Exploitation

  • CISA SSVC: exploitation none, automatable no, technical impact total.
  • No evidence of exploitation in the wild, no CISA KEV listing and no public exploit code found in our searches. This is not confirmed absence.
  • EPSS about 1.1 percent (0.01146).

Our recommendation

  • Inventory hosts with buildebooks installed (for example with npm ls -g buildebooks).
  • Update to buildebooks 0.2.2 or later where the tool is used.
  • Remove the package where it is not needed.
  • Prioritise build hosts that process external or untrusted content, such as publishing workflows or CI pipelines that accept outside contributions.

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 1 Nov 2026, 10:36.

Original description (NVD)

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.

NVD references (5)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.