Medium · 6.5 Node.js & npm CVE-2026-129239 GHSA-7h45-q5jx-7r87
Directus Share Update Flaw Allows Non-Admins to Escalate Access via Reassigned Ownership
A privilege management flaw in Directus lets an authenticated non-admin user with update permission on shares reassign the ownership and role of an existing share, exposing data beyond the original owner's permissions. Fixed in version 12.3.1.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A vulnerability has been disclosed in Directus, the open-source real-time API and App dashboard used for managing SQL database content. The issue, tracked as CVE-2026-129239, allows an authenticated non-administrator user to escalate access by modifying attributes on a share they own, resulting in exposure of data beyond what their original permissions allow. The vendor has released a fix in version 12.3.1.
What happened
Directus disclosed a privilege management vulnerability affecting its share functionality. An authenticated user who is not an administrator, but who holds update permission on the directus_shares resource, can modify the user_created, role, item, and collection fields on a share they already own. By setting user_created and role to administrator identifiers, the acting user can cause guest share authentication to derive administrator-level accountability from those fields, exposing data reachable from the shared item beyond what the share owner and share role would normally permit.
Technical cause
The root cause is an authorization check that validates the pre-update state of a share row but does not revalidate the merged row after an update is applied. The update path does not force the user_created field to remain the acting user, nor does it rerun share access checks when the item or collection referenced by the share changes. This gap allows a non-admin with update permission to alter fields that affect how the share's permissions are evaluated, without those changes being independently re-checked.
Why it matters
Exploiting this issue results in unauthorized disclosure of data reachable from a shared item, beyond what the original share owner's permissions and the share's role would allow. This is a confidentiality impact only: the issue does not issue an administrator token, and it has no direct write or availability impact on the system.
Who is affected
Directus deployments running a version prior to 12.3.1 are affected, specifically those where non-administrator accounts are granted update permission on the directus_shares resource and the ability to share items. Exploitation also requires the acting user to know administrator user and role identifiers.
Affected versions
All Directus versions prior to 12.3.1 are affected. The vulnerability is fixed in version 12.3.1.
Fixes and mitigation
The vendor has released version 12.3.1, which fixes this issue by addressing the authorization gap in the share update path.
Recommended action
Administrators running Directus should upgrade to version 12.3.1 as soon as possible. As a defense-in-depth measure, organizations should also review which non-administrator accounts hold update permission on directus_shares and reconsider granting that permission broadly, since exploitation relies on this permission being present.
PatchBriefing score
6.5 / 10 · Medium
Official CVSS: 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS 0.0051 (37 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- directus < 12.3.1
- vulnerable
- directus ≥ 0 < 12.3.1
- vulnerable
- ≥ 12.3.1
- patched
Reported fixes
The vendor has released version 12.3.1, which fixes this issue by addressing the authorization gap in the share update path.
How this was built
4 source records were collected, matched and used to prepare the report above.
-
CVE.org database
-
NVD (NIST) database
-
GitHub Advisory Database database
-
OSV.dev database
Revision history
- Published
- Generated