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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-636"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126539.json"
}{
"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"
}
]
}