AploSec / Disclosures / CVE-2026-110648
@offactory/compress-fonts before 1.1.1 OS Command Injection via Font File Names
CVE-2026-110648 · published 2026-10-14
In plain words: this type of bug lets someone run their own commands on the server (command injection). A fixed release is listed.
Summary
CVE-2026-110648 affects @offactory/compress-fonts (npm) < 1.1.1: Command injection via Font File Names (CWE-78). Fixed in 1.1.1. CVSS 4.0 base score 8.5 (High), assigned by VulnCheck. Published 2026-10-14 by VulnCheck. Credit: Zachariah Mithani.
@offactory/compress-fonts before 1.1.1 contains an OS command injection vulnerability that allows attackers to execute shell commands by supplying font files with crafted names. Font paths are interpolated unquoted into a FontForge command run through child_process.execSync, so shell metacharacters in file names execute commands with the Node.js process privileges.
Evidence
The maintainer accepted the patch submitted with the report and merged the fix.
Remediation
Upgrade @offactory/compress-fonts to 1.1.1 or later. Releases in the affected range (< 1.1.1) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-10-14 CVE published
- 2026-10-28 Public record last updated
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/offactory-compress-fonts-before-1.1.1-os-command-injection-via-font-file-names
- Fix pull requesthttps://github.com/adamarcanov/compress-fonts/pull/1
- Vulnerable codehttps://github.com/adamarcanov/compress-fonts/blob/7b07d20b3125a7bba8f933eeca21f5a09c8fb62a/index.js#L48
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-110648
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-110648
- Fix commithttps://github.com/adamarcanov/compress-fonts/commit/12002e5866af2163cd34424baae5a53338951a5d
- Severity
- High 8.5CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- @offactory/compress-fonts
- Ecosystem
- npm
- Affected
- < 1.1.1
- Fixed
- 1.1.1
- Weakness
- CWE-78
- CNA
- VulnCheck
- Credit
- Zachariah Mithanifinder