OS Command Injection in Wekan - CVE-2026-52891

 

OS Command Injection in Wekan - CVE-2026-52891

Published: July 28, 2026


Vulnerability identifier: #VU139859
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-52891
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: wekan.github.io
Affected software:
Wekan

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to command injection in the avatar upload functionality when processing a user-supplied filename for MIME-type detection via child_process.exec(). A remote user can upload an avatar with a specially crafted filename to execute arbitrary code.

The issue occurs because shell metacharacters in the uploaded avatar filename are interpreted as commands during MIME-type detection.


How to mitigate CVE-2026-52891

Install security update from vendor's website.

Sources