{"id":"CVE-2021-26594","details":"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","modified":"2026-04-10T04:31:18.977954Z","published":"2021-02-23T19:15:13.777Z","references":[{"type":"EVIDENCE","url":"https://github.com/sgranel/directusv8"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/directus/directus","events":[{"introduced":"7a0ddbd38e44f1f2c188dfdc6840e72be5126798"},{"last_affected":"5bdfc79eef6a82f8f075af27880f2a5fb85a7bee"}],"database_specific":{"versions":[{"introduced":"8.0.0"},{"last_affected":"8.8.1"}]}}],"versions":["v8.0.0","v8.0.1","v8.0.2","v8.1.0","v8.2.0","v8.3.0","v8.3.1","v8.4.0","v8.5.0","v8.5.1","v8.5.2","v8.5.3","v8.5.4","v8.5.5","v8.6.0","v8.6.1","v8.6.2","v8.7.0","v8.7.1","v8.7.2","v8.8.0","v8.8.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-26594.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}