MEDIUM5.3
GHSA-rmjh-cf9q-pv7q
Directus' exact version number is exposed by the OpenAPI Spec
Quick fix
GHSA-rmjh-cf9q-pv7q — directus: upgrade to the fixed version with the command below.
npm install directus@11.9.0Details
### Summary
The exact Directus version number is incorrectly being used as OpenAPI Spec version this means that it is being exposed by the `/server/specs/oas` endpoint without authentication.
### Impact
With the exact version information a malicious attacker can look for known vulnerabilities in Directus core or any of its shipped dependencies in that specific running version.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/directus/directus/security/advisories/GHSA-rmjh-cf9q-pv7q[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-53887[ADVISORY]
- https://github.com/directus/directus/pull/25353[WEB]
- https://github.com/directus/directus/commit/e74f3e4e92edc33b5f83eefb001a3d2a85af17a3[WEB]
- https://github.com/directus/directus[PACKAGE]
- https://github.com/directus/directus/releases/tag/v11.9.0[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/directus"]}'