# CVE-2026-70374: HashBrown CMS - OS Command Injection in Media Upload Thumbnail Generation

- Severity: High 8.8 (CVSS:3.1, scored by TuranSec) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 62% of CVEs (2026-12-01)
- Published: 2026-08-05T05:46:19.284Z
- Modified: 2026-10-24T16:10:00.153Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: TuranSec

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

(As written by CVE List.)

## Affected

- HashBrownCMS hashbrown-cms: up to 1.4.6

## References

- <https://github.com/HashBrownCMS/hashbrown-cms> (third-party-advisory)
- <https://cve.turansec.uz/advisories/TRN-11FC0D88> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-70374](https://www.cve.org/CVERecord?id=CVE-2026-70374), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-70374](https://nvd.nist.gov/vuln/detail/CVE-2026-70374), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-70374 · Whole record: https://cve.day/CVE-2026-70374.json · Rebuilt by cve.day 2026-11-25T22:59:31.060Z
