7.7high
Wekan:hell Injection in External Antivirus Scanner Path via asyncExec
- Severity
- 7.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.58% (higher than 42% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| wekan wekan | < 9.75 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Wekan es un kanban de código abierto construido con Meteor. Antes de la versión 9.75, models/fileValidation.js interpolaba la ruta fileObj.path del archivo subido en el externalCommandLine configurado por el administrador en su marcador de posición {file} y ejecutaba el resultado a través de asyncExec, que es promisify(exec) e invoca /bin/sh -c. En despliegues con un escáner externo configurado, un usuario autenticado capaz de subir un archivo adjunto podía colocar metacaracteres de shell, como sustituciones de comandos, en el nombre del archivo y ejecutar comandos como el proceso del servidor Wekan. La versión 9.75 añade shellQuote() y pasa la ruta del archivo como un argumento POSIX entre comillas simples para que los metacaracteres de shell no puedan escapar del marcador de posición. Este problema está solucionado en la versión 9.75.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-68560 changed 2026-08-21 | CVE Terms of Use |
| NVD | CVE-2026-68560 changed 2026-10-26 | Public domain |