Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Critical
VulnerabilityCVE-2026-70374cvecve-2026-70374cwe-78
Published: 08/05/2026 (08/05/2026, 05:46:19 UTC)
Source: CVE Database V5
Vendor/Project: HashBrownCMS
Product: hashbrown-cms

Description

HashBrown CMS versions up to and including 1.4.6 contain an OS Command Injection vulnerability in the media upload thumbnail generation routine. The vulnerability arises because the filename extension is not properly sanitized before being passed to a shell command, allowing an authenticated user with media resource scope to execute arbitrary OS commands via a specially crafted filename. This occurs in the Media.generateThumbnail() function when it calls a shell command with an unescaped temporary file path. No official patch or remediation guidance is currently available.

Affected software

GitHub Actionsmore threats →cve
hashbrown-cms
pkg:github/hashbrown-cms
Affected versions
<=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/05/2026, 06:45:48 UTC

Technical Analysis

HashBrown CMS through version 1.4.6 has an OS Command Injection vulnerability (CWE-78) in the media upload thumbnail generation routine. The function Media.generateThumbnail() constructs a temporary file path using the filename extension and passes it unescaped into a shell command executed via AppService.exec(). The MIME-type filter truncates extensions at the first '?' character, but Path.extname() does not, enabling an attacker to craft filenames like 'x.jpg?$(command)' that pass MIME checks but inject shell commands. An authenticated user with media resource scope can exploit this via the POST /api/{project}/{environment}/media/new endpoint to execute arbitrary OS commands in the Node.js process context.

Potential Impact

An authenticated user with media resource scope can achieve arbitrary OS command execution on the server hosting HashBrown CMS. This could lead to full system compromise depending on the privileges of the Node.js process. The vulnerability allows execution of arbitrary commands through crafted filenames during thumbnail generation, potentially enabling data theft, service disruption, or further attacks.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict media resource scope access to trusted users only and consider disabling or restricting the media upload functionality if possible. Monitor for updates from the HashBrown CMS vendor regarding an official fix.

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
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a72d7b3bf8831d5395e849b

Added to database: 08/05/2026, 06:26:59 UTC

Last enriched: 08/05/2026, 06:45:48 UTC

Last updated: 08/05/2026, 06:45:48 UTC

Views: 4

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