# CVE-2022-26969: Insecure default value for CORS configuration

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.02%, higher than 64% of CVEs (2026-12-01)
- Published: 2022-04-05T18:31:22.000Z
- Modified: 2026-06-17T04:36:14.323Z
- Also known as: GHSA-g27j-74fp-xfpr
- Weaknesses: CWE-942
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

In Directus before 9.7.0, the default settings of CORS_ORIGIN and CORS_ENABLED are true.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- directus (npm): before 9.7.0
- monospace directus: before 9.7.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/directus/directus/blob/8daed9c41baeaf1d08c1e292bf9f0dcef65e48fb/docs/configuration/config-options.md> (third-party-advisory, web)
- <https://github.com/directus/directus/pull/12022> (patch, third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-JS-DIRECTUS-2441822> (third-party-advisory, web)
- <https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS> (technical-description, third-party-advisory, web)
- <https://github.com/directus/directus/releases/tag/v9.7.0> (third-party-advisory, web)
- <https://github.com/directus/directus/security/advisories/GHSA-g27j-74fp-xfpr> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-26969> (advisory)
- <https://github.com/directus/directus> (package)

## Sources

- CVE List: [CVE-2022-26969](https://www.cve.org/CVERecord?id=CVE-2022-26969), CVE Terms of Use, modified 2025-04-14
- GitHub Advisory Database: [GHSA-g27j-74fp-xfpr](https://github.com/advisories/GHSA-g27j-74fp-xfpr), CC-BY-4.0, modified 2025-04-14
- NVD: [CVE-2022-26969](https://nvd.nist.gov/vuln/detail/CVE-2022-26969), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-26969 · Whole record: https://cve.day/CVE-2022-26969.json · Rebuilt by cve.day 2026-11-25T22:58:17.876Z
