---
id: CVE-2026-70374
title: >-
  HashBrown CMS through 1.4.6 contains an OS Command Injection vulnerability
  (CWE-78) in the media upload thumbnail generation routine
summary: >-
  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 'thumbna…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
published: '2026-08-05'
updated: '2026-08-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-70374'
references:
  - url: 'https://cve.turansec.uz/advisories/TRN-11FC0D88'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
  - url: 'https://github.com/HashBrownCMS/hashbrown-cms'
    label: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
tags:
  - nvd
epss: 0.01868
epssPercentile: 0.78396
ingestedAt: '2026-08-10T12:39:47.647Z'
---

## Overview

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 + ...).

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
