4.3medium
Directus Vulnerable to Information Leakage in Existing Collections
- Severity
- 4.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-cph6-524f-3hgr
Description
Directus is a real-time API and App dashboard for managing SQL database content. An observable difference in error messaging was found in the Directus REST API in versions of Directus prior to version 11.13.0. The `/items/{collection}` API returns different error messages for two cases: when a user tries to access an existing collection which they are not authorized to access, and when user tries to access a non-existing collection. The two differing error messages leak the existence of collections to users which are not authorized to access these collections. Version 11.13.0 fixes the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| directus directus | < 11.13.0 | CVE List |
| directus (npm) | before 11.13.0 | GitHub Advisory Database |
| @directus/api (npm) | before 32.0.0 | GitHub Advisory Database |
| monospace directus | before 11.13.0 | NVD |
All scores
| GitHub_M | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Classification
What each source says
CVE List
Directus is a real-time API and App dashboard for managing SQL database content. An observable difference in error messaging was found in the Directus REST API in versions of Directus prior to version 11.13.0. The `/items/{collection}` API returns different error messages for two cases: when a user tries to access an existing collection which they are not authorized to access, and when user tries to access a non-existing collection. The two differing error messages leak the existence of collections to users which are not authorized to access these collections. Version 11.13.0 fixes the issue.
GitHub Advisory Database
Summary:
An observable difference in error messaging was found in the Directus REST API. The /items/{collection} API returns different error messages for these two cases:
- A user tries to access an existing collection which they are not authorized to access.
- A user tries to access a non-existing collection.
The two differing error messages leak the existence of collections to users which are not authorized to access these collections.
Details:
The following response returns an error message, when requesting a collection the user is not authorized to access.
GET /items/no-access
{
"errors": [
{
"message": "You don't have permission to access collection \"no-access\" or it does not exist. Queried in root.",
"extensions": {
"reason": "You don't have permission to access collection \"no-access\" or it does not exist. Queried in root.",
"code": "FORBIDDEN"
}
}
]
}
The following response returns a different error message when requesting a collection which does not exist.
GET /items/does-not-exist
{
"errors": [
{
"message": "You don't have permission to access this.",
"extensions": {
"code": "FORBIDDEN"
}
}
]
}
Impact:
The difference in errors between non-existent collections and collections blocked by permissions leak the existence of a collection to a user which is not authorized to access this object.
Credit:
Sebastian Krause - Hackmanit GmbH
NVD (es)
Directus es una API en tiempo real y un panel de control de aplicaciones para gestionar contenido de base de datos SQL. Se encontró una diferencia observable en los mensajes de error en la API REST de Directus en versiones de Directus anteriores a la versión 11.13.0. La API '/items/{collection}' devuelve mensajes de error diferentes para dos casos: cuando un usuario intenta acceder a una colección existente a la que no está autorizado a acceder, y cuando un usuario intenta acceder a una colección no existente. Los dos mensajes de error diferentes filtran la existencia de colecciones a usuarios que no están autorizados a acceder a estas colecciones. La versión 11.13.0 corrige el problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-64749 changed 2025-11-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cph6-524f-3hgr changed 2025-11-15 | CC-BY-4.0 |
| NVD | CVE-2025-64749 changed 2026-10-19 | Public domain |