{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "12.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "8d4cd86783bcbf5444eaf290e8dcecb33929300e"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v12.1.0",
                "range": [
                  {
                    "fixed": "c65322a42d17353718c6e32a7741e593d4738fb7"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c65322a42d17353718c6e32a7741e593d4738fb7"
            },
            {
              "fixed": "8d4cd86783bcbf5444eaf290e8dcecb33929300e"
            }
          ],
          "repo": "https://github.com/directus/directus",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-97xr-jchp-xm3c"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-636"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126539.json"
  },
  "details": "Directus before 12.1.0 contains an authorization bypass vulnerability that allows unauthenticated attackers to skip permission checks by sending a failed auth message on public-mode WebSocket connections. Attackers can send an invalid token so handleAuthRequest sets accountability to null, then read, create, update or delete records in any user-defined collection.",
  "id": "CVE-2026-126539",
  "modified": "2026-11-12T02:30:29.478720188Z",
  "published": "2026-11-11T00:58:52.738Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126539.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/directus/directus/releases/tag/v12.1.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/directus/directus/security/advisories/GHSA-97xr-jchp-xm3c"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126539"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/directus-before-12.1.0-authorization-bypass-via-public-websocket-rest-interface"
    },
    {
      "type": "FIX",
      "url": "https://github.com/directus/directus/commit/8d4cd86783bcbf5444eaf290e8dcecb33929300e"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/directus/directus"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/directus/directus/blob/v12.0.2/api/src/websocket/controllers/base.ts#L381-L397"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Directus before 12.1.0 Authorization Bypass via Public WebSocket REST Interface"
}