CVE-2026-70374: CWE-78 OS Command Injection in HashBrownCMS hashbrown-cms
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 + ...).
AI Analysis
Technical Summary
CVE-2026-70374 is an OS Command Injection vulnerability (CWE-78) in HashBrown CMS through version 1.4.6. The issue occurs in the Media.generateThumbnail function located in src/Server/Entity/Resource/Media.js, where a temporary file path is constructed as 'thumbnail' plus the file extension from the uploaded media filename. This path is then passed unescaped into a shell command executed via AppService.exec using the 'convert' utility. Because the filename extension is not sanitized or escaped, an attacker with privileges to upload media can inject arbitrary shell commands, leading to remote code execution. The CVSS v3.1 base score is 8.8, indicating high severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacts on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker with privileges to upload media files to execute arbitrary OS commands on the server hosting HashBrown CMS. This can lead to full compromise of the affected system, including unauthorized data access, modification, and service disruption.
Mitigation Recommendations
No official patch or remediation has been published by the vendor at this time. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict media upload privileges to trusted users only and consider disabling thumbnail generation if possible to reduce exposure.
CVE-2026-70374: CWE-78 OS Command Injection in HashBrownCMS hashbrown-cms
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 + ...).
CVSS v3.1
Score 8.8high
Affected software
HashBrownCMS
hashbrown-cms
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-70374 is an OS Command Injection vulnerability (CWE-78) in HashBrown CMS through version 1.4.6. The issue occurs in the Media.generateThumbnail function located in src/Server/Entity/Resource/Media.js, where a temporary file path is constructed as 'thumbnail' plus the file extension from the uploaded media filename. This path is then passed unescaped into a shell command executed via AppService.exec using the 'convert' utility. Because the filename extension is not sanitized or escaped, an attacker with privileges to upload media can inject arbitrary shell commands, leading to remote code execution. The CVSS v3.1 base score is 8.8, indicating high severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacts on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker with privileges to upload media files to execute arbitrary OS commands on the server hosting HashBrown CMS. This can lead to full compromise of the affected system, including unauthorized data access, modification, and service disruption.
Mitigation Recommendations
No official patch or remediation has been published by the vendor at this time. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict media upload privileges to trusted users only and consider disabling thumbnail generation if possible to reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-08-04T07:13:07.993Z
- State
- PUBLISHED
Threat ID: 6a72d7b3bf8831d5395e849b
Added to database: 08/05/2026, 06:26:59 UTC
Last enriched: 08/12/2026, 14:23:57 UTC
Last updated: 09/18/2026, 10:01:33 UTC
Views: 44
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.