Skip to main content
EPSS 1.0%top 40%

CVE-2026-70374: CWE-78 OS Command Injection in HashBrownCMS hashbrown-cms

0
High
Published: 08/05/2026 (08/05/2026, 05:46:19 UTC)
Source: CVE Database V5
Vendor/Project: HashBrownCMS
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

HashBrownCMS

hashbrown-cms

Affected versions
>=0 <=1.4.6
GitHub Actionsmore threats →cve
hashbrown-cms
pkg:github/hashbrown-cms
Affected versions
>=0 <=1.4.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 14:23:57 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses