{"answers":{"affected":"1 open source package ship an affected version, including directus.","exploited":"There is no known exploitation of CVE-2026-129239 in the wild and no public exploit code.","exposure":"An affected version is exposed as installed. No special setting or call is needed.","fix":"Upgrade directus to 12.3.1 or later.","what":"CVE-2026-129239 is a medium-severity privilege escalation vulnerability in directus, published on 16 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-129239 and fix it if it is affected.\n\nWhat it is: CVE-2026-129239 is a medium-severity privilege escalation vulnerability in directus, published on 16 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-129239 in the wild and no public exploit code.\nExposure: An affected version is exposed as installed. No special setting or call is needed.\n\nAffected packages and fixed versions:\n- directus (npm): affected all versions; fixed in 12.3.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-129239/ (Markdown: https://insights.sbomify.com/CVE-2026-129239/index.md)","id":"CVE-2026-129239","markdown":"https://insights.sbomify.com/CVE-2026-129239/index.md","name":"CVE-2026-129239","record":{"aliases":["GHSA-7h45-q5jx-7r87"],"analysis":{"component_type":"web_application","exploitable_when_present":false,"fix_type":"upgrade","impacts":["privilege_escalation","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"headless CMS","requires_auth":"low_privilege","requires_specific_call":false,"summary":"Authenticated Directus users with share update permission can reassign share items to administrator roles, exposing data beyond share permissions.","user_interaction":"not_required","vuln_class":"privilege_escalation","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-269","name":"Improper Privilege Management"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Directus: Share update allows reassigning user_created and role","id":"CVE-2026-129239","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"privilege_escalation","year":"2026"},"n_packages":1,"n_references":4,"n_vendor_status":1,"next":{"headline":"Due to a Debian-specific patch, the directory used to share data between the LightDM and the users logging in was writable by the lightdm us","id":"CVE-2026-129246"},"nickname":null,"packages":[{"ecosystem":"npm","fixed":["12.3.1"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"directus","purl":"pkg:npm/directus","purl_source":"derived","scope":"upstream","source":"GHSA-7h45-q5jx-7r87"}],"prev":{"headline":"qbee-agent: Docker Compose build context Zip Slip writes outside context directory","id":"CVE-2026-129237"},"products":["directus"],"published":"2026-11-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-11-16","vendor_status":[{"n_packages":1,"name":"Upstream","packages":[{"fixed":["12.3.1"],"name":"directus","purl":"pkg:npm/directus","sources":["GHSA-7h45-q5jx-7r87"],"status":"fixed"}],"release":null,"scope":"upstream","status":"fixed","statuses":{"fixed":1},"vendor":null}],"vendors":["directus"]},"summary":"Authenticated Directus users with share update permission can reassign share items to administrator roles, exposing data beyond share permissions.","url":"https://insights.sbomify.com/CVE-2026-129239/"}