CVE-2026-61835
HIGH
7.7
CVSS 3.1
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.
Metadata
Severity & Metrics
7.7
HIGH CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| directus | directus | — | < 12.0.0 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-918 | cna | CWE-918: Server-Side Request Forgery (SSRF) |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 7.7 | HIGH | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
References (4)
- https://github.com/directus/directus/security/advisories/GHSA-j5h6-vqc3-phqh https://github.com/directus/directus/security/advisories/GHSA-j5h6-vqc3-phqh
- https://github.com/directus/directus/pull/27606 https://github.com/directus/directus/pull/27606
- https://github.com/directus/directus/commit/f75b25fa44b05c6022b20f231c20bc6e50f021d7 https://github.com/directus/directus/commit/f75b25fa44b05c6022b20f231c20bc6e50f021d7
- https://github.com/directus/directus/releases/tag/v12.0.0 https://github.com/directus/directus/releases/tag/v12.0.0