{"api_version":"1","generated_at":"2026-07-17T09:59:54+00:00","cve":"CVE-2026-52891","urls":{"html":"https://cve.report/CVE-2026-52891","api":"https://cve.report/api/cve/CVE-2026-52891.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-52891","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-52891"},"summary":{"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-15 22:17:16","updated_at":"2026-07-16 13:43:05"},"problem_types":["CWE-78","CWE-88","CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","CWE-88 CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"9.9","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":9.9,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"9.9","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","data":{"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"}}],"references":[{"url":"https://github.com/wekan/wekan/commit/a4c74a5980e9f778eb444fd346f32aa3d16786a9","name":"https://github.com/wekan/wekan/commit/a4c74a5980e9f778eb444fd346f32aa3d16786a9","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/wekan/wekan/releases/tag/v9.07","name":"https://github.com/wekan/wekan/releases/tag/v9.07","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/wekan/wekan/security/advisories/GHSA-35j7-h385-2q9g","name":"https://github.com/wekan/wekan/security/advisories/GHSA-35j7-h385-2q9g","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-52891","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52891","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"wekan","product":"wekan","version":"affected < 9.07","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"52891","cve":"CVE-2026-52891","epss":"0.004030000","percentile":"0.325590000","score_date":"2026-07-16","updated_at":"2026-07-17 00:05:19"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"wekan","vendor":"wekan","versions":[{"status":"affected","version":"< 9.07"}]}],"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."}],"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","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-88","description":"CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-15T21:08:02.223Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/wekan/wekan/security/advisories/GHSA-35j7-h385-2q9g","tags":["x_refsource_CONFIRM"],"url":"https://github.com/wekan/wekan/security/advisories/GHSA-35j7-h385-2q9g"},{"name":"https://github.com/wekan/wekan/commit/a4c74a5980e9f778eb444fd346f32aa3d16786a9","tags":["x_refsource_MISC"],"url":"https://github.com/wekan/wekan/commit/a4c74a5980e9f778eb444fd346f32aa3d16786a9"},{"name":"https://github.com/wekan/wekan/releases/tag/v9.07","tags":["x_refsource_MISC"],"url":"https://github.com/wekan/wekan/releases/tag/v9.07"}],"source":{"advisory":"GHSA-35j7-h385-2q9g","discovery":"UNKNOWN"},"title":"Wekan: Shell Injection via Avatar Upload"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-52891","datePublished":"2026-07-15T21:08:02.223Z","dateReserved":"2026-06-08T21:44:27.365Z","dateUpdated":"2026-07-15T21:08:02.223Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-15 22:17:16","lastModifiedDate":"2026-07-16 13:43:05","problem_types":["CWE-78","CWE-88","CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","CWE-88 CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":9.9,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.1,"impactScore":6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"52891","Ordinal":"1","Title":"Wekan: Shell Injection via Avatar Upload","CVE":"CVE-2026-52891","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"52891","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Wekan: Shell Injection via Avatar Upload"}]}}}