buildebooks before 0.2.2 OS Command Injection via kindlegen EPUB File Name
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-110637
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:18 UTC · Revision 1
Source evidence
buildebooks before 0.2.2 OS Command Injection via kindlegen EPUB File Name
core-osv · Original sourcePublished 14 Oct 2026, 14:17 UTC
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.
osv:CVE-2026-110637
Complete source record
{
"id": "bbf6f870c76b7a241dcf5defcd5ac1f2c366387f49e13c36a2292c99e510a476",
"url": "https://osv.dev/vulnerability/CVE-2026-110637",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "buildebooks before 0.2.2 OS Command Injection via kindlegen EPUB File Name",
"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 book project with a malicious front-matter filename or project folder name and kindle: true to execute OS commands as the user running buildebooks.",
"evidence": "osv:CVE-2026-110637",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-110637",
"aliases": [
"CVE-2026-110637"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wastemobile/buildebooks",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "5ae097328d0ec6a1ca0fdc3a7a339bd32b469db5"
},
{
"fixed": "123776c9ef61e8075ada2f7da2f7046f6a8078d9"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.2.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "123776c9ef61e8075ada2f7da2f7046f6a8078d9"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.2.1",
"0.2.0",
"0.1.12",
"0.1.11",
"0.1.10",
"0.1.9",
"0.1.8",
"0.1.7",
"0.1.6",
"0.1.5",
"0.1.4",
"0.1.3",
"0.1.2",
"0.1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-110637.json"
}
}
],
"modified": "2026-10-28T02:30:37.779510925Z",
"provider": "osv",
"references": [
"https://www.npmjs.com/package/buildebooks",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110637.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-110637",
"https://www.vulncheck.com/advisories/buildebooks-before-0.2.2-os-command-injection-via-kindlegen-epub-file-name",
"https://github.com/wastemobile/buildebooks/commit/123776c9ef61e8075ada2f7da2f7046f6a8078d9",
"https://github.com/wastemobile/buildebooks/pull/12",
"https://github.com/wastemobile/buildebooks",
"https://github.com/wastemobile/buildebooks/blob/7fc313485447d9359fb38fda3cbc2ed60ce69fe7/lib/kindle.js#L5-L12"
],
"provider_metadata": {
"cwe_ids": [
"CWE-78"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110637.json"
}
},
"related_cves": [
{
"value": "CVE-2026-110637",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505242,
"published_at": "2026-10-14T14:17:09.098+00:00"
}