
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-26969 affects Directus versions before 9.7.0, where the default settings of CORSORIGIN and CORSENABLED are set to true. This vulnerability was disclosed on December 26, 2022, and was assigned a CVSS v3.1 score of 9.8 (CRITICAL). The vulnerability impacts the security configuration of Directus, a real-time API and App dashboard for managing SQL database content (NVD, Snyk).
The vulnerability stems from overly permissive default CORS (Cross-Origin Resource Sharing) settings in Directus installations. By default, both CORSENABLED and CORSORIGIN were set to true, which made the system too permissive in terms of cross-origin requests. This configuration could potentially allow unauthorized cross-origin requests to access the API (GitHub PR).
The insecure default configuration could lead to unauthorized access to the API from any origin, potentially resulting in a total loss of confidentiality and integrity of the system. According to the CVSS assessment, this vulnerability could result in high impacts on confidentiality, integrity, and availability of the affected system (Snyk).
The vulnerability was fixed in Directus version 9.7.0. Users should upgrade to this version or later. For those unable to upgrade immediately, a workaround is available by explicitly configuring the CORS environment variables to match the project's specific needs. It is recommended to use a domain allow-list approach, for example setting CORS_ORIGIN to specific domains like 'https://directus.io' rather than using permissive settings (GitHub Release).
The security improvement was well-received by the community, with multiple positive reactions on GitHub. The change was acknowledged as necessary despite making the initial setup process slightly more complex, as it prioritizes security over convenience (GitHub Release).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."