# CVE-2026-52891: Wekan: Shell Injection via Avatar Upload

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/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.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-07-15T21:08:02.223Z
- Modified: 2026-07-17T19:17:16.647Z
- Weaknesses: CWE-78, CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- wekan wekan: < 9.07

## 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>

## Sources

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

---

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