CyberRota Analysis
AI-GeneratedWekan versions prior to 9.75 are vulnerable to command injection due to improper handling of file paths in the external command execution process, allowing authenticated users to execute arbitrary commands on the server. This high-severity vulnerability poses a significant risk to deployments with an external scanner configured, as it can lead to unauthorized access and control over the server. Organizations using Wekan should prioritize upgrading to version 9.75 or later to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Wekan is open source kanban built with Meteor. Prior to 9.75, models/fileValidation.js interpolated the uploaded fileObj.path into the administrator-configured externalCommandLine at its {file} placeholder and executed the result through asyncExec, which is promisify(exec) and invokes `/bin/sh -c`. On deployments with an external scanner configured, an authenticated user able to upload an attachment could place shell metacharacters such as command substitutions in the filename and execute commands as the Wekan server process. Version 9.75 adds shellQuote() and passes the file path as a POSIX single-quoted argument so shell metacharacters cannot escape the placeholder. This issue is fixed in version 9.75.