Servers and applications
CVE-2026-35408
Missing Cross-Origin Opener Policy
- Severity
- Critical 9.3
- Published
- 2 Apr 2026
- Last changed
- 24 Jul 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 11.17.0
- Exploit chance
- 0.2% in the next 30 daysHigher than 6% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N- Also known as
- GHSA-8m32-p958-jg99
- Sources
- NVD, Project advisories (GitHub)
Description
Directus's Single Sign-On (SSO) login pages lacked a Cross-Origin-Opener-Policy (COOP) HTTP response header. Without this header, a malicious cross-origin window that opens the Directus login page retains the ability to access and manipulate the window object of that page. An attacker can exploit this to intercept and redirect the OAuth authorization flow to an attacker-controlled OAuth client, causing the victim to unknowingly grant access to their authentication provider account (e.g. Google, Discord).
A successful attack allows the attacker to obtain an OAuth access token for the victim's third-party identity provider account. Depending on the scopes authorized, this can lead to:
- Unauthorized access to the victim's linked identity provider account
- Account takeover of the Directus instance if the attacker can authenticate using the stolen credentials or provider session
Workarounds
Users who are unable to upgrade immediately can mitigate this vulnerability by configuring their reverse proxy or web server to add the following HTTP response header to all Directus responses: Cross-Origin-Opener-Policy: same-origin
Affected software
| Software | Affected versions |
|---|---|
DirectusServers and applications · cpe:a:monospace:directus |
|
DirectusServers and applications · github:directus/directus |
|
About Directus
The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.
- Weekly downloads (npm)
- 30,924npm, 15 Nov 2026
- Docker Hub pulls
- 50,954,770Docker Hub, 15 Nov 2026
- GitHub stars
- 38,722GitHub, 15 Nov 2026
- Forks
- 5,000GitHub, 15 Nov 2026
- Latest release
- v12.6.1GitHub, 15 Nov 2026
- Released
- 4 Nov 2026GitHub
- First published on GitHub
- 12 Dec 2012GitHub
Source code Website Docker image Package
Vulnerabilities in Directus
- In our list
- 85
- Published in the last 12 months
- 40
- Critical, last 12 months
- 3
- High, last 12 months
- 16
- Known exploited
- 0
- CVE-2026-126539Directus before 12.1.0 Authorization Bypass via Public WebSocket REST InterfaceCritical 9.2 11 Nov 2026
- GHSA-jvxj-w2qp-5vmxIP-restricted policies bypassed via GraphQL WebSocket subscriptionsMedium 6.8 30 Oct 2026
- GHSA-95f8-mvw7-gpj9File uploads can write into the extensions directory, leading to code execution in overlapping storage configurationsMedium 6.6 30 Oct 2026
- GHSA-32cw-mf7w-gpqrAuthenticated persistent Denial of Service via prototype pollution in CSV importHigh 7.1 30 Oct 2026
- GHSA-xf86-hfpm-92xrAI Chat route exposes admin-only tools to non-admin usersLow 3.1 19 Oct 2026
- GHSA-2xcm-7h22-3m66Update and delete by query evaluate filters without read permissions, leaking hidden field valuesMedium 6.5 19 Oct 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-35408
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-35408
- GitHub Advisory Database https://github.com/advisories/GHSA-8m32-p958-jg99
- github.com https://github.com/directus/directus/security/advisories/GHSA-8m32-p958-jg99