Description
Directus is a real-time API and App dashboard for managing SQL database content. Prior to 12.0.0, the SSRF protection on Directus's file-import-from-URL feature can be bypassed using the address 0.0.0.0 because api/src/request/is-denied-ip.ts treats 0.0.0.0 as a keyword for local interfaces but never blocks the literal address itself. On Linux and macOS, connecting to 0.0.0.0 reaches localhost, so an authenticated user with file-upload rights can make the server fetch internal services through the /files/import endpoint and retrieve the response as a downloadable file. This issue is fixed in version 12.0.0.
Affected products
monospace: directus
References4
- github.com/directus/directus/security/advisories/GHSA-j5h6-vqc3… Vendor Advisory
- github.com/directus/directus/commit/f75b25fa44b05c6022b20f231c2… Patch
- github.com/directus/directus/pull/27606 Issue TrackingPatch
- github.com/directus/directus/releases/tag/v12.0.0 Release Notes
Metrics
- CVSS 3.1
-
7.7
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N - EPSS — exploit probability
- 0% percentile: 36 · as of 15 November 2026
- CWE
- CWE-918
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.