Lucene search
K

📄 thumbler 1.1.2 Command Injection

🗓️ 26 Mar 2026 00:00:00Reported by Zebbern Vulnerability ResearchType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 73 Views

CVE-2026-26833: Thumbler up to 1.1.2 permits command injection in thumbnail() via shell string; no fix.

Related
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for CVE-2026-26833
24 Mar 202616:15
githubexploit
CNNVD
Thumbler 安全漏洞
25 Mar 202600:00
cnnvd
CVE
CVE-2026-26833
25 Mar 202600:00
cve
Cvelist
CVE-2026-26833
25 Mar 202600:00
cvelist
EUVD
EUVD-2026-15463
25 Mar 202618:31
euvd
Github Security Blog
thumbler allows OS Command Injection
25 Mar 202618:31
github
NVD
CVE-2026-26833
25 Mar 202616:16
nvd
OSV
GHSA-MVHF-547C-H55R thumbler allows OS Command Injection
25 Mar 202618:31
osv
Packet Storm
📄 thumbler 1.1.2 Command Injection
27 Apr 202600:00
packetstorm
Positive Technologies
PT-2026-27802
25 Mar 202600:00
ptsecurity
Rows per page
# CVE-2026-26833: OS command injection in thumbler
    
    ## Summary
    
    `thumbler` through version `1.1.2` allows OS command injection in
    `thumbnail()` in `lib/thumbler.js`. The package concatenates the
    `input`, `output`, `time`, and `size` values into a single `ffmpeg`
    command string and executes that string with `child_process.exec()`.
    An attacker who controls one of those values can inject shell syntax
    and run arbitrary commands.
    
    ## Affected product
    
    | Product | Affected versions | Fixed version |
    | --- | --- | --- |
    | thumbler | all versions through 1.1.2 | no fix available as of 2026-03-24 |
    
    ## Vulnerability details
    
    - CVE ID: `CVE-2026-26833`
    - CWE: `CWE-78` - OS Command Injection
    - CVSS 3.1: `9.8` (`Critical`)
    - Vector: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
    - Affected component: `lib/thumbler.js`, `thumbnail()`
    
    The vulnerable code path constructs the following shell string:
    
    ```js
    exec(
      'ffmpeg -ss ' + time + ' -i "' + input + '" -vframes 1 -s ' +
      size + ' "' + output + '"',
      ...
    );
    ```
    
    Because the command is assembled as a string, each attacker-controlled
    field is a possible injection point.
    
    ## Technical impact
    
    Any service that generates thumbnails from user-controlled media can
    end up executing commands on the host while calling `thumbnail()`.
    
    ## Proof of concept
    
    ```js
    require("thumbler").thumbnail(
      'test.mp4"; id > /tmp/pwned; echo "',
      "/tmp/out.jpg",
      {},
      () => {}
    );
    ```
    
    ## Mitigation
    
    No fixed npm release is available at the time of writing.
    
    If you still depend on this package:
    
    1. Do not pass untrusted data into `thumbnail()`.
    2. Replace shell-string concatenation with argument-safe process
       execution.
    3. Move to a maintained thumbnail generation library or a fixed fork.
    
    ## References
    
    - https://www.npmjs.com/package/thumbler
    - https://github.com/mmahrous/thumbler
    - https://github.com/mmahrous/thumbler/blob/master/lib/thumbler.js

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

26 Mar 2026 00:00Current
5.9Medium risk
Vulners AI Score5.9
CVSS 3.19.8
EPSS0.00494
SSVC
73