---
id: CVE-2026-110637
title: >-
  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
summary: >-
  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 bo…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T19:17:10.903'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-110637'
references:
  - url: 'https://github.com/wastemobile/buildebooks'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/wastemobile/buildebooks/blob/7fc313485447d9359fb38fda3cbc2ed60ce69fe7/lib/kindle.js#L5-L12
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/wastemobile/buildebooks/commit/123776c9ef61e8075ada2f7da2f7046f6a8078d9
    label: disclosure@vulncheck.com
  - url: 'https://github.com/wastemobile/buildebooks/pull/12'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/buildebooks-before-0.2.2-os-command-injection-via-kindlegen-epub-file-name
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-14T15:36:14.013Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
