High
Security advisory
In Directus 8.x through 8.8.1, an attacker can switch to the administrator role (via the PATCH method) without any control by the back end. NOTE: This vulnerability only affects products that are no longer supported by the maintainer
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-26594
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:09 UTC · Revision 1
Source evidence
In Directus 8.x through 8.8.1, an attacker can switch to the administrator role (via the PATCH method) without any control by the back end. NOTE: This vulnerability only affects products that are no longer supported by the maintainer
osv:CVE-2021-26594
Complete source record
{
"id": "16dca23d24f5e6e29ceef02364ba43a0396403a42bc04678406fc5334ff556f9",
"url": "https://osv.dev/vulnerability/CVE-2021-26594",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-26594",
"summary": "In Directus 8.x through 8.8.1, an attacker can switch to the administrator role (via the PATCH method) without any control by the back end. NOTE: This vulnerability only affects products that are no longer supported by the maintainer",
"evidence": "osv:CVE-2021-26594",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-26594",
"aliases": [
"CVE-2021-26594"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/directus/directus",
"type": "GIT",
"events": [
{
"introduced": "7a0ddbd38e44f1f2c188dfdc6840e72be5126798"
},
{
"last_affected": "5bdfc79eef6a82f8f075af27880f2a5fb85a7bee"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rangerstudio:directus:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"last_affected": "8.8.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v8.8.1",
"v8.8.0",
"v8.7.2",
"v8.7.1",
"v8.7.0",
"v8.6.2",
"v8.6.1",
"v8.6.0",
"v8.5.5",
"v8.5.4",
"v8.5.3",
"v8.5.2",
"v8.5.1",
"v8.5.0",
"v8.4.0",
"v8.3.1",
"v8.3.0",
"v8.2.0",
"v8.1.0",
"v8.0.2",
"v8.0.1",
"v8.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-26594.json"
}
}
],
"modified": "2026-10-24T10:30:35.983129693Z",
"provider": "osv",
"references": [
"https://github.com/sgranel/directusv8"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-26594",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 433871,
"published_at": "2021-02-23T19:15:13.777+00:00"
}