CVE-2026-70374 Details
Description
HashBrown CMS through 1.4.6 contains an OS Command Injection vulnerability (CWE-78) in the media upload thumbnail generation routine. Media.generateThumbnail in src/Server/Entity/Resource/Media.js builds a temporary file path as 'thumbnail' + Path.extname(filename) and passes it, unescaped, into a shell command executed via AppService.exec ('convert ' + tempFile + ...).
A command injection vulnerability allowing arbitrary operating system command execution has been identified in HashBrown CMS versions through 1.4.6. The issue arises in the media upload thumbnail generation process, specifically within the 'generateThumbnail' function of the media resource module. The vulnerability is rooted in the improper handling of file extensions, which allows an authenticated user with media resource access to inject commands that are executed in the context of the Node.js process.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 5, 2026CISA-ADP
Assessed Aug 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cve.turansec.uz/advisories/TRN-11FC0D88 | TuranSec | AdvisoryBroken Link |
| https://github.com/HashBrownCMS/hashbrown-cms | TuranSec | ProductSource CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | TuranSec |
Affected Products
| Product | Versions |
|---|---|
| HashBrown CMS | <= 1.4.6 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 10, 2026 | CVE Modified | TuranSec |
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2026 | CVE Modified | TuranSec |
| Aug 5, 2026 | New CVE Received | TuranSec |
Volerion