Directus share update lets users reassign ownership and role
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Privilege escalation, Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-269 and CWE-863.
Summary
Directus versions before 12.3.1 let an authenticated non-admin user with update permission on directus_shares change the user_created and role fields of an owned share. The update path does not recheck authorization on the merged row, so an attacker who knows administrator identifiers can make guest share authentication reach data beyond the owner and share role permissions (CWE-863). Exploitation requires update permission on directus_shares, a shareable item, and knowledge of administrator user and role identifiers.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
Directus is a real-time API and App dashboard for managing SQL database content. Prior to 12.3.1, Directus allows an authenticated non-admin with update permission on directus_shares to modify user_created, role, item, and collection on an existing owned share because authorization checks the pre-update row and does not revalidate the merged row. The update path does not force user_created to the acting user or rerun share access checks when item or collection changes. Setting user_created and role to administrator identifiers causes guest share authentication to derive administrator accountability from both fields, exposing data reachable from the shared item beyond the owner and share role permissions. The issue requires update permission on directus_shares, an item the account can share, and knowledge of administrator user and role identifiers, and it does not issue an administrator token or provide write or availability impact. This issue is fixed in version 12.3.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| directus | directus | before 12.3.1 | 12.3.1 | Patch available | CNA |
| — | directus (npm) | before 12.3.1 | 12.3.1 | Patch available | GHSA-7h45-q5jx-7r87 |
- directus Vendordirectus Affected before 12.3.1 Fixed in 12.3.1 Patch available CNA
- directus (npm) Vendor— Affected before 12.3.1 Fixed in 12.3.1 Patch available GHSA-7h45-q5jx-7r87
Remediation
Update Directus to version 12.3.1 or later, which fixes the issue for both the directus vendor package and the npm package. The sources list no advisory identifier for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA directus (directus) Fixed in 12.3.1
- Fix · GHSA-7h45-q5jx-7r87 directus (npm) Fixed in 12.3.1 Advisory →
Timeline
- 2026-11-16 Threatist record created from CVE-2026-129239
- 2026-11-16 CISA SSVC decision points changed
- 2026-11-16 Alias added: GHSA-7h45-q5jx-7r87
- 2026-11-16 Fix available: npm/[email protected] · GHSA-7h45-q5jx-7r87
- 2026-11-16 CVSS score added · GHSA-7h45-q5jx-7r87
- 2026-11-16 Weakness changed · GHSA-7h45-q5jx-7r87
- 2026-11-16 6 new references · GHSA-7h45-q5jx-7r87
References
Other 5
- https://github.com/directus/directus/security/advisories/GHSA-7h45-q5jx-7r87
- https://github.com/directus/directus/pull/28145
- https://github.com/directus/directus/commit/5869c06f6997af0d2f13b39b3d19297dd2ed2f65
- https://github.com/directus/directus/releases/tag/v12.3.1
- https://github.com/directus/directus
More directus vulnerabilities
- TI-2025-21659 Directus's webhook trigger flows can leak sensitive data CVSS 3.1HIGH 8.6
- TI-2024-36266 Directus allows unauthenticated access to WebSocket events and operations CVSS 3.1HIGH 7.5
- TI-2024-26791 Directus allows SSO User Enumeration CVSS 3.1HIGH 7.5
- TI-2024-23956 Directus is soft-locked by providing a string value to random string util CVSS 3.1HIGH 7.5
- TI-2024-26624 Directus Incorrectly handles _in` filter CVSS 3.1HIGH 7.7
- TI-2025-21658 Directus `search` query parameter allows enumeration of non permitted fields CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-129239 · CVE Program
- CVE-2026-129239 · NVD
- GHSA-7h45-q5jx-7r87 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences