Vulnerability · Published Mar 26, 2025 · Assigned by GitHub_M

CVE-2025-30352Directus `search` query parameter allows enumeration of non permitted fields

Medium 5.3

In plain English

A medium-severity information exposure in directus from directus. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 68.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Directus is a real-time API and App dashboard for managing SQL database content. Starting in version 9.0.0-alpha.4 and prior to version 11.5.0, the `search` query parameter allows users with access to a collection to filter items based on fields they do not have permission to view. This allows the enumeration of unknown field contents. The searchable columns (numbers & strings) are not checked against permissions when injecting the `where` clauses for applying the search query. This leads to the possibility of enumerating those un-permitted fields. Version 11.5.0 fixes the issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmdirectus11.5.0GHSA-7wq3-jr35-275c

Affected products (as reported)

VendorProductVersions
directus directus >= 9.0.0-alpha.4, < 11.5.0

Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References