{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "1.5.0"
              },
              {
                "fixed": "1.6.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "adf02f46678361844d794effb70eeca27c268548"
            },
            {
              "fixed": "d5ccd5ecc956e665aca80f3c486f7fa46f409424"
            }
          ],
          "repo": "https://github.com/checkmk/checkmk",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The web management console of CheckMK Raw Edition (versions 1.5.0 to 1.6.0) allows a misconfiguration of the web-app Dokuwiki (installed by default), which allows embedded php code. As a result, remote code execution is achieved. Successful exploitation requires access to the web management interface, either with valid credentials or with a hijacked session by a user with the role of administrator.",
  "id": "CVE-2021-40904",
  "modified": "2026-03-13T21:56:22.553753695Z",
  "published": "2022-03-25T23:15:08.187Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://checkmk.com"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Edgarloyola/CVE-2021-40904"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}