{"id":"CVE-2026-52891","aliases":["EUVD-2026-44829","GHSA-35j7-h385-2q9g"],"status":"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.","severity":{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00785,"percentile":0.56351,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-78","CWE-88"],"published":"2026-07-15T21:08:02Z","modified":"2026-10-28T02:30:53Z","products":[{"vendor":"wekan","product":"wekan"}],"references":[{"url":"https://github.com/wekan/wekan/security/advisories/GHSA-35j7-h385-2q9g","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/wekan/wekan/commit/a4c74a5980e9f778eb444fd346f32aa3d16786a9","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/wekan/wekan/releases/tag/v9.07","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52891.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52891","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-52891","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.","status":"published","published":"2026-07-15T21:08:02.223Z","modified":"2026-07-17T18:23:51.039Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-78","CWE-88"],"updated_at":"2026-11-02T13:40:57.334596Z"}],"euvd":[{"id":"EUVD-2026-44829","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.","status":"published","published":"2026-07-15T21:08:02Z","modified":"2026-07-17T18:23:51Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T18:19:50.451546Z"}],"nvd":[{"id":"CVE-2026-52891","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.","status":"published","published":"2026-07-15T22:17:16.45Z","modified":"2026-07-17T19:17:16.647Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-78","CWE-88"],"updated_at":"2026-11-02T14:12:30.250437Z"}],"osv":[{"id":"CVE-2026-52891","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.","status":"published","published":"2026-07-15T21:08:02.223Z","modified":"2026-10-28T02:30:53.596152226Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78","CWE-88"],"updated_at":"2026-11-02T15:45:07.431113Z"}]}}
