CVE-2025-64749
JavaScript vulnerability analysis and mitigation

Overview

A vulnerability was discovered in Directus REST API (CVE-2025-64749) affecting versions below 11.13.0, disclosed on November 13, 2025. The vulnerability involves an information leakage issue where different error messages are returned when accessing existing versus non-existing collections, allowing unauthorized users to enumerate collection names (GitHub Advisory).

Technical details

The vulnerability has a CVSS v3.1 score of 4.3 (Moderate) with a vector of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N. The issue stems from inconsistent error handling in the API endpoint /items/{collection}, where different error messages are returned for unauthorized access to existing collections versus non-existent collections. This vulnerability is classified under CWE-203 (Observable Discrepancy) and CWE-209 (Generation of Error Message Containing Sensitive Information) (GitHub Advisory, Miggo).

Impact

The vulnerability allows unauthorized users to determine the existence of collections within the Directus instance through error message differentiation, potentially exposing sensitive information about the system's structure (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Directus version 11.13.0. The fix implements consistent error messaging through a centralized function called createCollectionForbiddenError, which generates the same error response regardless of whether the collection exists or the user lacks permission (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-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 2025

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