OS Command Injection in Wekan - CVE-2026-52891
Published: July 28, 2026
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.