CVE-2026-129239
Medium 6.5No known exploitationFix availableDirectus: Share update allows reassigning user_created and role
Vendor advisory: GHSA-7h45-q5jx-7r87
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 35% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Weakness: CWE-269, CWE-863
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| npm | directus | all versions before 12.3.1 | 12.3.1 | GitHub Advisory Database |
Timeline
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-7h45-q5jx-7r87 (opens in a new tab)github-advisory
- https://github.com/directus/directus/commit/5869c06f6997af0d2f13b39b3d19297dd2ed2f65 (opens in a new tab)
- https://github.com/directus/directus/pull/28145 (opens in a new tab)
- https://github.com/directus/directus/releases/tag/v12.3.1 (opens in a new tab)
- https://github.com/directus/directus/security/advisories/GHSA-7h45-q5jx-7r87 (opens in a new tab)