CVE-2026-26833
Received Received - Intake
OS Command Injection in thumbler 1.1.2 via Unsanitized Parameters

Publication date: 2026-03-25

Last updated on: 2026-03-30

Assigner: MITRE

Description
thumbler through 1.1.2 allows OS command injection via the input, output, time, or size parameter in the thumbnail() function because user input is concatenated into a shell command string passed to child_process.exec() without proper sanitization or escaping.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-25
Last Modified
2026-03-30
Generated
2026-06-16
AI Q&A
2026-03-25
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
mmahrous thumbler to 1.1.2 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in thumbler version 1.1.2 where the thumbnail() function improperly handles user input. Specifically, the input, output, time, or size parameters are concatenated directly into a shell command string that is executed using child_process.exec() without proper sanitization or escaping. This allows an attacker to inject arbitrary operating system commands.

Impact Analysis

An attacker exploiting this vulnerability can execute arbitrary OS commands on the affected system. This could lead to unauthorized access, data theft, system compromise, or disruption of services depending on the privileges of the application running thumbler.

Compliance Impact

The provided information does not specify how the CVE-2026-26833 vulnerability affects compliance with common standards and regulations such as GDPR or HIPAA.

Detection Guidance

This vulnerability can be detected by checking for the presence of the vulnerable thumbler package version (through 1.1.2) in your environment and by monitoring for suspicious command execution patterns related to the thumbnail() function.

One practical detection method is to look for files or processes that indicate command injection attempts, such as unexpected files created by injected commands (e.g., files like /tmp/pwned created by injected 'id' commands).

You can also audit your codebase or running services for usage of the vulnerable thumbnail() function that concatenates user input into shell commands.

  • Check installed npm packages and their versions: `npm list thumbler`
  • Search your code for usage of the vulnerable function: `grep -r 'thumbnail(' ./`
  • Look for suspicious files created by command injection, e.g., `ls -l /tmp/pwned`
  • Monitor running processes or logs for unexpected shell commands or child_process.exec usage with concatenated parameters.
Mitigation Strategies

Immediate mitigation steps include avoiding passing untrusted or user-controlled data into the vulnerable thumbnail() function.

Replace the vulnerable shell command string concatenation with safer process execution methods that use argument arrays, such as child_process.spawn, to prevent command injection.

Consider migrating to a maintained thumbnail generation library or a fixed fork of thumbler once available.

Until a fixed version is released, restrict access to the service using thumbler and monitor for suspicious activity.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-26833. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart