{"id":"CVE-2026-70374","state":"PUBLISHED","title":"HashBrown CMS - OS Command Injection in Media Upload Thumbnail Generation","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 + ...).","publishedAt":"2026-08-05T05:46:19.284Z","updatedAt":"2026-08-10T11:44:48.781Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"TuranSec"},"assigner":"TuranSec","products":["HashBrownCMS hashbrown-cms"],"affected":[{"vendor":"HashBrownCMS","product":"hashbrown-cms","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.4.6","versionType":"semver"}],"repo":"https://github.com/HashBrownCMS/hashbrown-cms","programFiles":["src/Server/Entity/Resource/Media.js","src/Common/utilities.js"]}],"references":["https://github.com/HashBrownCMS/hashbrown-cms","https://cve.turansec.uz/advisories/TRN-11FC0D88"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/70xxx/CVE-2026-70374.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-70374","state":"PUBLISHED","datePublished":"2026-08-05T05:46:19.284Z","dateUpdated":"2026-08-10T11:44:48.781Z","assignerShortName":"TuranSec","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateReserved":"2026-08-04T07:13:07.993Z"},"containers":{"cna":{"title":"HashBrown CMS - OS Command Injection in Media Upload Thumbnail Generation","descriptions":[{"lang":"en","value":"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 + ...)."}],"affected":[{"vendor":"HashBrownCMS","product":"hashbrown-cms","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.4.6","versionType":"semver"}],"repo":"https://github.com/HashBrownCMS/hashbrown-cms","programFiles":["src/Server/Entity/Resource/Media.js","src/Common/utilities.js"]}],"references":[{"url":"https://github.com/HashBrownCMS/hashbrown-cms","tags":["third-party-advisory"]},{"url":"https://cve.turansec.uz/advisories/TRN-11FC0D88","tags":["third-party-advisory"]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78 OS Command Injection","type":"CWE"}]}],"providerMetadata":{"shortName":"TuranSec","orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateUpdated":"2026-08-10T11:44:48.781Z"},"credits":[{"lang":"en","value":"Alijonov Alisher","type":"finder"}],"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-05T05:46:19.284Z"},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-05T15:05:00.591389Z","id":"CVE-2026-70374","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-05T15:07:29.671Z"}}]}}}