{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "9.07"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a4c74a5980e9f778eb444fd346f32aa3d16786a9"
            },
            {
              "fixed": "ebaa31c1e0d56ba86aff10914d2cebc66f612cf5"
            }
          ],
          "repo": "https://github.com/wekan/wekan",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-35j7-h385-2q9g"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-78",
      "CWE-88"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52891.json"
  },
  "details": "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.",
  "id": "CVE-2026-52891",
  "modified": "2026-08-12T03:51:09.540800850Z",
  "published": "2026-07-15T21:08:02.223Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/wekan/wekan/releases/tag/v9.07"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52891.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/wekan/wekan/security/advisories/GHSA-35j7-h385-2q9g"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52891"
    },
    {
      "type": "FIX",
      "url": "https://github.com/wekan/wekan/commit/a4c74a5980e9f778eb444fd346f32aa3d16786a9"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Wekan: Shell Injection via Avatar Upload"
}