CVE-2025-64746
JavaScript vulnerability analysis and mitigation

Overview

Directus contains a vulnerability (CVE-2025-64746) related to improper permission handling on deleted fields. The issue was discovered and disclosed on November 13, 2025, affecting Directus versions prior to 11.13.0. The vulnerability occurs when field-level permissions are not properly cleaned up after a field is deleted, potentially leading to unauthorized access when new fields are created with the same name (GitHub Advisory).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 4.6 (Moderate) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N. The issue stems from incomplete deletion of field-related data in the permissions table. When a field is deleted, its reference remains in the directus_permissions table, creating a security gap. The vulnerability is tracked as CWE-284 (Improper Access Control) and CWE-863 (Incorrect Authorization) (GitHub Advisory).

Impact

When a new field is created with the same name as a previously deleted field, it automatically inherits the old permissions from the stale reference. This inheritance can unintentionally grant roles access to data they should not be able to read or modify. The impact is particularly significant in multi-tenant or production environments where administrators may reuse field names, assuming old permissions have been fully cleared (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Directus version 11.13.0. The fix includes modifications to the FieldsService class to properly clean up permissions when fields are deleted. The patch adds new logic that queries the directus_permissions table for any permissions applying to the deleted field and removes the field from the fields list in those permission rules (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23947CRITICAL9.3
  • JavaScriptJavaScript
  • @orval/core
NoYesJan 20, 2026
CVE-2026-23950HIGH8.8
  • JavaScriptJavaScript
  • grafana-graphite
NoYesJan 20, 2026
CVE-2026-22037HIGH8.4
  • JavaScriptJavaScript
  • @fastify/express
NoYesJan 19, 2026
CVE-2026-23522LOW3.7
  • JavaScriptJavaScript
  • @lobehub/chat
NoNoJan 19, 2026
CVE-2025-66803LOW1.7
  • JavaScriptJavaScript
  • @hotwired/turbo
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management