Every CVE Search/ Get API key

CVE-2022-26969

Insecure default value for CORS configuration

9.8 CriticalFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.00%Unchanged since Dec 26, 2022
90%50%10%1%

What each source reports

NVD Score used 9.8

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

Record
CVE-2022-26969
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-942
Updated
2026-11-02
CVE List 9.8

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

Record
CVE-2022-26969
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-942
Updated
2026-11-02
EUVDEUVD-2022-1731 9.8

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

Record
EUVD-2022-1731
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-g27j-74fp-xfpr 9.8

Insecure default value for CORS configuration

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:

Record
GHSA-g27j-74fp-xfpr
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-942
Updated
2026-11-02
OSV 9.8

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

Record
CVE-2022-26969
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-g27j-74fp-xfpr 9.8

Insecure default value for CORS configuration

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:

Record
GHSA-g27j-74fp-xfpr
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-942
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
directus
npm
before 9.7.0
9.7.0

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-26969 is a critical vulnerability (CVSS 9.8) in Monospace Directus, published April 5, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.00%, the 63rd percentile. Fixed in directus 9.7.0.

References

Show 4 moreShow less
MoveEnter Open