CVE-2026-52891 PUBLISHED

Wekan: Shell Injection via Avatar Upload

Assigner: GitHub_M
Reserved: 08.06.2026 Published: 15.07.2026 Updated: 15.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 9.9

Product Status

Vendor wekan
Product wekan
Versions
  • Version < 9.07 is affected

References

Problem Types

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE
  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') CWE