Vulnerabilities

Security incident · GHSA-mww8-4gwh-rjfw

Missing Origin validation on WebSocket upgrades allows Cross-Site WebSocket Hijacking

Published Aug 5, 2026 · catalog updated Aug 5, 2026 · Missing Origin validation on

Last checked Nov 1, 2026. A connected source was read within the last 7 days.

Open the advisory

Exploitation likelihood is not on this record for GHSA-mww8-4gwh-rjfw. A missing EPSS score is not a low risk. Compare Missing Origin validation on with the linked advisory before you change production.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (Missing Origin validation on).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
  • EPSS is missing. A missing score is not a low risk.
Severity
High8.1
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
Awaiting synchronization with FIRST
Remediation
Version ranges on file
Affected products
npm directus

# Missing Origin validation on WebSocket upgrades allows Cross-Site WebSocket Hijacking ## Summary The WebSocket upgrade handler accepted cross-origin upgrade requests that carried the session cookie, without validating the header of the handshake. A browser automatically attaches cookies to a WebSocket handshake and, unlike the REST and GraphQL transports, the upgrade path is registered directly on the HTTP server and therefore never passes through the CORS middleware. In affected deployments, a page on an attacker-controlled origin could open a WebSocket to a Directus instance and have the connection authenticated as the visiting user. ## Details When a WebSocket upgrade request arrived with a session cookie present, the connection was authenticated from that cookie and the socket was established with the corresponding user's accountability. No comparison was made against the request host, , or the allowlist before accepting the upgrade. The cookie branch was evaluated ahead of the configured WebSocket authentication mode, so setting or to or did not prevent a cookie-bearing handshake from being accepted. Exploitation requires all of the following: - WebSockets are enabled ( ). This is not the default. - The victim is signed in using session cookie authentication, which is the mode the Admin App uses. - The victim's browser attaches the session cookie to the attacker's cross-origin handshake. This happens when is set to (a configuration used for cross-origin Admin App deployments), or when the attacker controls a site that is same-site with the API host, such as a sibling subdomain, in which case the default setting still sends the cookie. - The victim visits the attacker-controlled page while their session is valid. ## Impact An attacker who can get a signed-in user to load a page under their control can drive an authenticated WebSocket session with that user's permissions. Over that connection they can read, create, update, and delete items, and open subscriptio

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • npm directus>= 10.10.5, < 12.1.0

How to fix GHSA-mww8-4gwh-rjfw

  • Upgrade

    GHSA-mww8-4gwh-rjfw lists a fix boundary at 12.1.0. Compare the installed build with that boundary before you change production.

  • Version check

    Affected < 12.1.0

  • Advisory

    Open the inventory_github record and follow its fix.

  • Official advisories

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

Exploitation likelihood is not on this record for GHSA-mww8-4gwh-rjfw. A missing EPSS score is not a low risk. Compare Missing Origin validation on with the linked advisory before you change production.

Which versions are affected?

Compare what you have installed with >= 10.10.5, < 12.1.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-1385; CWE-352: Cross-Site Request Forgery (CSRF). EPSS is not on this record yet. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Aug 5, 2026 · Maintainer security tabs

    Detected

    # Missing Origin validation on WebSocket upgrades allows Cross-Site WebSocket Hijacking ## Summary The WebSocket upgrade handler accepted cross-origin upgrade requests that carried the session cookie, without validating the header of the handshake. A browser automatically attaches cookies to a WebSocket handshake and, unlike the REST and GraphQL transports, the upgrade path is registered directly

Sources

  • Maintainer security tabsVendor advisoryGHSA-mww8-4gwh-rjfw

    # Missing Origin validation on WebSocket upgrades allows Cross-Site WebSocket Hijacking ## Summary The WebSocket upgrade handler accepted cross-origin upgrade requests that carried the session cookie, without validating the header of the handshake. A browser automatically attaches cookies to a WebSocket handshake and, unlike the REST and GraphQL transports, the upgrade path is registered directly

    github.com

Freshness

Last verified in this catalog Aug 5, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • Maintainer security tabsNov 1, 2026