
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-35408 is a missing Cross-Origin-Opener-Policy (COOP) header vulnerability in Directus's Single Sign-On (SSO) login pages that enables OAuth authorization flow interception. Disclosed on April 2, 2026, by researcher br41nslug and published to the GitHub Advisory Database on April 4, 2026, it affects all Directus (npm) versions prior to 11.17.0 (GitHub Advisory). The vulnerability carries a CVSS v3.1 base score of 9.3 (Critical) per Feedly's assessment, while the GitHub Advisory Database rates it 8.7 (High) (GitHub Advisory, Feedly).
The root cause is the absence of the Cross-Origin-Opener-Policy: same-origin HTTP response header on Directus SSO login pages, classified under CWE-346 (Origin Validation Error) and CWE-693 (Protection Mechanism Failure) (GitHub Advisory). Without COOP, a malicious cross-origin window that opens the Directus login page retains a reference to the page's window object, allowing it to read and manipulate the browsing context. An attacker exploits this by luring a victim to open the Directus SSO page from an attacker-controlled origin, then using the retained window reference to intercept and redirect the OAuth authorization flow — substituting the legitimate OAuth client with an attacker-controlled one. The attack requires user interaction (victim must click a malicious link) but requires no privileges on the Directus instance (Directus Advisory).
A successful exploit allows the attacker to obtain an OAuth access token for the victim's third-party identity provider account (e.g., Google, Discord), resulting in high confidentiality and integrity impact with no availability impact (GitHub Advisory). Depending on the OAuth scopes authorized, consequences range from unauthorized access to the victim's linked identity provider account to full account takeover of the Directus instance if the attacker can authenticate using the stolen token or provider session (Directus Advisory). The scope is changed, meaning the impact extends beyond the Directus application itself to the victim's external identity provider account.
As of the time of reporting, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). The EPSS score is approximately 0.015% (1st percentile), indicating a low near-term probability of exploitation (GitHub Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.
window.open() to open the victim's Directus SSO login URL (e.g., https://target-directus.example.com/auth/login/google) in a new tab or popup, retaining a JavaScript reference to the opened window object.window reference from the opener page to manipulate the page's browsing context — redirecting the OAuth authorization request to the attacker-controlled OAuth client instead of the legitimate one.client_id values in identity provider logs (e.g., Google OAuth audit logs); OAuth tokens issued to unrecognized redirect URIs not matching the legitimate Directus application.Upgrade Directus to version 11.17.0 or later, which adds the Cross-Origin-Opener-Policy: same-origin HTTP response header to SSO-related endpoints, severing any opener window reference (GitHub Advisory). For organizations unable to upgrade immediately, the same protection can be applied by configuring a reverse proxy or web server (e.g., nginx, Apache, Caddy) to inject the Cross-Origin-Opener-Policy: same-origin header on all Directus responses (Directus Advisory). As defense-in-depth, consider implementing PKCE (Proof Key for Code Exchange) and strict OAuth state parameter validation, and educate users about the risks of clicking untrusted links that open authentication pages (Feedly).
The Hacker Wire published a dedicated write-up on the vulnerability shortly after disclosure, covering the OAuth redirection mechanism and the missing COOP header (The Hacker Wire). The CVE was noted on social platforms including Bluesky and Mastodon, with automated CVE tracking accounts flagging the disclosure (Feedly). Community reaction has been moderate, with the primary focus on the straightforward remediation path (header addition) and the relatively low EPSS score suggesting limited immediate exploitation risk.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."