CVE-2026-61835
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| directus | directus | < 12.0.0 | affected |
Weaknesses
- CWE-918: CWE-918: Server-Side Request Forgery (SSRF)
References
- https://github.com/directus/directus/security/advisories/GHSA-j5h6-vqc3-phqh
- https://github.com/directus/directus/pull/27606
- https://github.com/directus/directus/commit/f75b25fa44b05c6022b20f231c20bc6e50f021d7
- https://github.com/directus/directus/releases/tag/v12.0.0
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.