{"id":"CVE-2026-52891","state":"PUBLISHED","title":"Wekan: Shell Injection via Avatar Upload","description":"Wekan is open source kanban built with Meteor. Prior to 9.07, Wekan avatar upload functionality embeds user-supplied filenames into paths later passed to child_process.exec() for MIME-type detection. Because models/avatars.js and models/fileValidation.js used a shell command with the avatar filename, shell metacharacters such as backticks and $() in the filename could execute commands on the server. This issue is fixed in version 9.07.","publishedAt":"2026-07-15T21:08:02.223Z","updatedAt":"2026-07-17T18:23:51.039Z","severity":{"score":9.9,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["wekan wekan"],"affected":[{"vendor":"wekan","product":"wekan","versions":[{"version":"< 9.07","status":"affected"}]}],"references":["https://github.com/wekan/wekan/security/advisories/GHSA-35j7-h385-2q9g","https://github.com/wekan/wekan/commit/a4c74a5980e9f778eb444fd346f32aa3d16786a9","https://github.com/wekan/wekan/releases/tag/v9.07"],"weaknesses":["CWE-78","CWE-88"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/52xxx/CVE-2026-52891.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-52891","state":"PUBLISHED","datePublished":"2026-07-15T21:08:02.223Z","dateUpdated":"2026-07-17T18:23:51.039Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-08T21:44:27.365Z"},"containers":{"cna":{"title":"Wekan: Shell Injection via Avatar Upload","descriptions":[{"lang":"en","value":"Wekan is open source kanban built with Meteor. Prior to 9.07, Wekan avatar upload functionality embeds user-supplied filenames into paths later passed to child_process.exec() for MIME-type detection. Because models/avatars.js and models/fileValidation.js used a shell command with the avatar filename, shell metacharacters such as backticks and $() in the filename could execute commands on the server. This issue is fixed in version 9.07."}],"affected":[{"vendor":"wekan","product":"wekan","versions":[{"version":"< 9.07","status":"affected"}]}],"references":[{"url":"https://github.com/wekan/wekan/security/advisories/GHSA-35j7-h385-2q9g","name":"https://github.com/wekan/wekan/security/advisories/GHSA-35j7-h385-2q9g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wekan/wekan/commit/a4c74a5980e9f778eb444fd346f32aa3d16786a9","name":"https://github.com/wekan/wekan/commit/a4c74a5980e9f778eb444fd346f32aa3d16786a9","tags":["x_refsource_MISC"]},{"url":"https://github.com/wekan/wekan/releases/tag/v9.07","name":"https://github.com/wekan/wekan/releases/tag/v9.07","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-88","lang":"en","description":"CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-15T21:08:02.223Z"},"source":{"advisory":"GHSA-35j7-h385-2q9g","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-17T18:23:06.206379Z","id":"CVE-2026-52891","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-07-17T18:23:51.039Z"}}]}}}