{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.1.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0b2928f974fa7ed821d8537b6fa4b5604caca453"
            },
            {
              "fixed": "1aaf2182a6b722ad539e2717bc11967d1bde723a"
            }
          ],
          "repo": "https://github.com/thehive-project/cortex",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An organization administrator can add a super administrator in THEHIVE PROJECT Cortex before 2.1.3 due to the lack of overriding the Role.toString method.",
  "id": "CVE-2018-20226",
  "modified": "2026-03-15T21:47:11.379865708Z",
  "published": "2018-12-21T23:29:00.853Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/TheHive-Project/Cortex/blob/2.1.3/CHANGELOG.md"
    },
    {
      "type": "FIX",
      "url": "https://github.com/TheHive-Project/Cortex/issues/158"
    },
    {
      "type": "FIX",
      "url": "https://github.com/TheHive-Project/Cortex/commit/1aaf2182a6b722ad539e2717bc11967d1bde723a"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}