CVE-2026-70374 HashBrown CMS - OS Command Injection in Media Upload Thumbnail Generation
Attackers can execute arbitrary OS commands via crafted filenames during media thumbnail generation in HashBrown CMS.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-70374?
CVE-2026-70374 is a high-severity command injection vulnerability in HashBrownCMS hashbrown-cms, published on 5 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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 + ...).
Weakness: CWE-78
Which versions are affected by CVE-2026-70374?
How do I fix CVE-2026-70374?
No fix has been published for CVE-2026-70374 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-70374 being exploited?
There is no known exploitation of CVE-2026-70374 in the wild and no public exploit code.
Sources
Also known as GHSA-f8rj-8x92-pfp5.