CVE-2022-26969 Insecure default value for CORS configuration

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
directus npmAll versions9.7.0
directus npmAll versions9.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.

All Monospace Directus vulnerabilities

Sources

Also known as GHSA-g27j-74fp-xfpr.

Is CVE-2022-26969 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free