CVE-2022-26969
criticalpriority · track · 39EPSS 0.010 · 63 %ileEUUSEPSS · scored 2026-10-27
In Directus before 9.7.0, the default settings of CORS_ORIGIN and CORS_ENABLED are true.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-g27j-74fp-xfprInsecure default value for CORS configuration2022-04-05ghsa · osvUS
### Impact The default value for the `CORS_ENABLED` and `CORS_ORIGIN` configuration was set to be very permissive by default. This could lead to unauthorized access in uncontrolled environments when the configuration hasn't been changed. ### Patches The default values for CORS have been changed in https://github.com/directus/directus/pull/12022 which is released under 9.7.0 ### Workarounds Configure the CORS environment variables to match your project's usage, rather than leaving them at the (permissive) defaults. ### For more information If you have any questions or comments about this advisory: * Open an issue in [directus/directus](https://github.com/directus/directus) * Email us at [security@directus.io](mailto:security@directus.io)
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-26969/cnnvd
- https://developer.mozilla.org/en-US/docs/Web/HTTP/CORScnnvd
- https://github.com/directus/directus/blob/8daed9c41baeaf1d08c1e292bf9f0dcef65e48fb/docs/configuration/config-options.mdcnnvd
- https://github.com/directus/directus/pull/12022cnnvd
- https://github.com/directus/directus/pull/12022/commits/7056d77a4ad16948f86c39df36c2cde22c3f066dPatchcnnvd
- https://github.com/directus/directus/releases/tag/v9.7.0cnnvd
- https://security.snyk.io/vuln/SNYK-JS-DIRECTUS-2441822cnnvd
- https://developer.mozilla.org/en-US/docs/Web/HTTP/CORSenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan