CVE-2025-64749
JavaScript vulnerability analysis and mitigation

Overview

Directus, a real-time API and App dashboard for managing SQL database content, was found to have an observable difference in error messaging vulnerability in versions prior to 11.13.0. The vulnerability was discovered and disclosed on November 13, 2025. The issue affects the Directus REST API's /items/{collection} endpoint, which returns different error messages when users attempt to access existing collections they're not authorized for versus non-existing collections (GitHub Advisory).

Technical details

The vulnerability is tracked as CVE-2025-64749 with a CVSS v3.1 base score of 4.3 (Medium). The vulnerability is classified under CWE-203 (Observable Discrepancy) and CWE-209 (Generation of Error Message Containing Sensitive Information). The technical issue manifests when the API returns distinct error messages: one for unauthorized access to existing collections and another for non-existent collections, creating an observable difference that can be exploited (NVD).

Impact

The vulnerability allows unauthorized users to determine the existence of collections they don't have permission to access through the difference in error messages. This information disclosure could potentially be used by attackers to map out the system's collection structure, even without proper authorization (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Directus version 11.13.0. Users are advised to upgrade to this version or later to address the information leakage issue. The fix involves unifying the error messages to prevent information disclosure through error message differences (GitHub Advisory).

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-59840HIGH8.1
  • JavaScriptJavaScript
  • vega
NoYesNov 13, 2025
GHSA-8wj8-cfxr-9374HIGH8
  • JavaScriptJavaScript
  • aws-advanced-nodejs-wrapper
NoYesNov 13, 2025
CVE-2025-64748MEDIUM6.5
  • JavaScriptJavaScript
  • directus
NoYesNov 13, 2025
CVE-2025-64749MEDIUM4.3
  • JavaScriptJavaScript
  • @directus/api
NoYesNov 13, 2025
CVE-2025-64745LOW2.7
  • JavaScriptJavaScript
  • astro
NoYesNov 13, 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