CVE-2026-126539 json
Directus before 12.1.0 Authorization Bypass via Public WebSocket REST Interface
published 3mo ago modified yesterday also EUVD-2026-123065 , GHSA-97xr-jchp-xm3c
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository directus/directus. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
Directus before 12.1.0 contains an authorization bypass vulnerability that allows unauthenticated attackers to skip permission checks by sending a failed auth message on public-mode WebSocket connections. Attackers can send an invalid token so handleAuthRequest sets accountability to null, then read, create, update or delete records in any user-defined collection.
Patch / fix
- npm directus 12.1.0
- directus directus 12.1.0
Is CVE-2026-126539 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.2 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 9.2 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | directus | <12.1.0 |
12.1.0 |
Affected products
- directus directus
Classification
- Weakness
-
- CWE-636 Not Failing Securely
References
-
github.com
/directus/directus/commit/8d4cd86783bcbf5444eaf290e8dcecb33929300e
patch
-
github.com
/directus/directus/security/advisories/GHSA-97xr-jchp-xm3c
vendor-advisory, advisory
-
github.com
/directus/directus/releases/tag/v12.1.0
release-notes
-
github.com
/directus/directus/blob/v12.0.2/api/src/websocket/controllers/base.ts#L381-L397
technical-description
-
vulncheck.com
/advisories/directus-before-12.1.0-authorization-bypass-via-public-websocket-rest-interface
third-party-advisory
Sources
- CVE List CVE-2026-126539
- NVD CVE-2026-126539
- Maintainer advisory GHSA-97xr-jchp-xm3c
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of directus/directus published their own advisory on GitHub. Reviewed sources take precedence over it.