Executive brief
Directus, a popular headless CMS and backend-as-a-service platform, exposes its exact version number through an unauthenticated API endpoint. An attacker can retrieve this version information and use it to identify known vulnerabilities in that specific Directus version or its bundled dependencies, enabling targeted exploitation.
Technical details
The Directus application incorrectly uses its exact version number as the OpenAPI specification version string, which is then exposed via the unauthenticated `/server/specs/oas` endpoint. This is an information disclosure vulnerability (CWE-200) where sensitive version metadata is accessible without authentication over the network. An attacker can query this endpoint to determine the exact Directus version running on a target system, then cross-reference known vulnerabilities in that version or its shipped dependencies to identify potential attack vectors. The vulnerability affects all versions from 9.0.0 through 11.8.x and is fixed in version 11.9.0.
Affected products
- Directus Directus 9.0.0 to 11.8.x
Timeline
- 2025-07-15: disclosed
- 2025-07-15: patched: Fixed in version 11.9.0