CVE-2022-26969 Insecure default value for CORS configuration
Directus allows cross-origin requests by default, potentially enabling unauthorized data access or actions from malicious sites.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-26969?
CVE-2022-26969 is a critical vulnerability in Monospace Directus, published on 26 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Directus before 9.7.0, the default settings of CORS_ORIGIN and CORS_ENABLED are true.
Weakness: CWE-942
Which versions are affected by CVE-2022-26969?
2 open source packages ship an affected version, including directus. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
directus npm | All versions | 9.7.0 |
directus npm | All versions | 9.7.0 |
Products include Monospace Directus.
How do I fix CVE-2022-26969?
Upgrade directus to 9.7.0 or later.
Is CVE-2022-26969 being exploited?
There is no known exploitation of CVE-2022-26969 in the wild and no public exploit code.
Other vulnerabilities in Monospace Directus
- CVE-2025-55746 Directus allows unauthenticated file upload and file modification due to lacking input sanitization
- CVE-2026-35408 Directus is Missing Cross-Origin Opener Policy
- CVE-2026-61836 Directus: Authorization-dependent response served from unsegmented cache key
- CVE-2025-30353 Directus's webhook trigger flows can leak sensitive data
- CVE-2026-39942 Directus has a Path Traversal and Broken Access Control in File Management API
Sources
Also known as GHSA-g27j-74fp-xfpr.