{"id":"CVE-2025-64746","aliases":["CVE-2025-64746","GHSA-9x5g-62gj-wqf2"],"related":[],"kind":"vulnerability","state":"published","title":"Directus has Improper Permission Handling on Deleted Fields","summary":"Directus is a real-time API and App dashboard for managing SQL database content. Prior to version 11.13.0, Directus does not properly clean up field-level permissions when a field is deleted. When a field is removed from a collection, its reference in the permissions table remains intact. This stale reference creates a security gap: if another field is later created using the same name, it inherits the outdated permission entry. This behavior can unintentionally grant roles access to data they should not be able to read or modify. The issue is particularly risky in multi-tenant or production environments, where administrators may reuse field names, assuming old permissions have been fully cleared. Version 11.13.0 fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Directus is a real-time API and App dashboard for managing SQL database content. Prior to version 11.13.0, Directus does not properly clean up field-level permissions when a field is deleted. When a field is removed from a collection, its reference in the permissions table remains intact. This stale reference creates a security gap: if another field is later created using the same name, it inherits the outdated permission entry. This behavior can unintentionally grant roles access to data they should not be able to read or modify. The issue is particularly risky in multi-tenant or production environments, where administrators may reuse field names, assuming old permissions have been fully cleared. Version 11.13.0 fixes the issue.","source":"cvelist"},{"lang":"en","text":"### Summary\nDirectus does not properly clean up field-level permissions when a field is deleted. If a new field with the same name is created later, the system automatically re-applies the old permissions, which can lead to unauthorized access.\n\n### Details\nWhen a field is removed from a collection, its reference in the permissions table remains intact. This stale reference creates a security gap: if another field is later created using the same name, it inherits the outdated permission entry.  \nThis behavior can unintentionally grant roles access to data they should not be able to read or modify.\n\nThe issue is particularly risky in multi-tenant or production environments, where administrators may reuse field names, assuming old permissions have been fully cleared.\n\n\t1.\tCreate a collection named test_collection.\n\t2.\tAdd a field called secret_field.\n\t3.\tAssign a role with read permissions specifically tied to secret_field.\n\t4.\tRemove the secret_field from the collection.\n\t5.\tCreate a new field with the exact same name secret_field.\n\t6.\tNotice that the previously assigned permissions are still active, granting access to the newly created field without reconfiguration.\n\n### Impact\n\nWhen creating new fields with the same name as previously deleted fields it may inherit the permissions of that previously deleted field. This can potentially result in accidentally giving access to this new field in existing policies.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Directus es un API en tiempo real y un panel de control de aplicaciones para gestionar contenido de bases de datos SQL. Versiones anteriores a la versión 11.13.0, Directus no limpia correctamente los permisos a nivel de campo cuando se elimina un campo. Cuando se elimina un campo de una colección, su referencia en la tabla de permisos permanece intacta. Esta referencia obsoleta crea una brecha de seguridad: si posteriormente se crea otro campo con el mismo nombre, hereda la entrada de permiso desactualizada. Este comportamiento puede conceder involuntariamente a los roles acceso a datos que no deberían poder leer o modificar. El problema es particularmente arriesgado en entornos multi-inquilino o de producción, donde los administradores pueden reutilizar nombres de campo, asumiendo que los permisos antiguos se han borrado por completo. La versión 11.13.0 corrige el problema.","source":"nvd"}],"published":"2025-11-13T20:54:42.351Z","modified":"2026-10-19T13:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-284","CWE-863"],"affected":[{"ranges":[{"version":"< 11.13.0","status":"affected"}],"vendor":"directus","product":"directus","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"11.13.0"}],"ecosystem":"npm","package":"directus","purl":"pkg:npm/directus","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"11.13.0"}],"vendor":"monospace","product":"directus","cpe":"cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-9x5g-62gj-wqf2","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/directus/directus/commit/84d7636969083387164ce5d2fd15a65e11e2d0b8","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64746","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/directus/directus","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-11-13T21:18:13.759Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-64746","url":"https://www.cve.org/CVERecord?id=CVE-2025-64746","licence":"CVE Terms of Use","modified":"2025-11-13T21:19:01.907Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9x5g-62gj-wqf2","url":"https://github.com/advisories/GHSA-9x5g-62gj-wqf2","licence":"CC-BY-4.0","modified":"2025-11-14T21:45:15.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-64746","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64746","licence":"Public domain","modified":"2026-10-19T13:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:07.658Z","epss":{"score":0.00205,"percentile":0.11037,"date":"2026-12-01T12:00:22.000Z"}}