Directus: SSRF Protection Bypass via 0.0.0.0 in File Import
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-918 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| directus | directus | before 12.0.0 | 12.0.0 | Patch available | CNA |
| — | directus (npm) | before 12.0.0 | 12.0.0 | Patch available | GHSA-j5h6-vqc3-phqh |
- directus Vendordirectus Affected before 12.0.0 Fixed in 12.0.0 Patch available CNA
- directus (npm) Vendor— Affected before 12.0.0 Fixed in 12.0.0 Patch available GHSA-j5h6-vqc3-phqh
Remediation
- Fix · CNA directus (directus) Fixed in 12.0.0
- Fix · GHSA-j5h6-vqc3-phqh directus (npm) Fixed in 12.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-61835
- 2026-10-03 Alias added: GHSA-j5h6-vqc3-phqh
References
Patch 2
Advisory 2
More Directus vulnerabilities
- TI-2025-21659 Directus's webhook trigger flows can leak sensitive data CVSS 3.1HIGH 8.6
- TI-2024-36266 Directus allows unauthenticated access to WebSocket events and operations CVSS 3.1HIGH 7.5
- TI-2024-26791 Directus allows SSO User Enumeration CVSS 3.1HIGH 7.5
- TI-2024-23956 Directus is soft-locked by providing a string value to random string util CVSS 3.1HIGH 7.5
- TI-2024-26624 Directus Incorrectly handles _in` filter CVSS 3.1HIGH 7.7
- TI-2025-21658 Directus `search` query parameter allows enumeration of non permitted fields CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-61835 · CVE Program
- CVE-2026-61835 · NVD
- FIRST EPSS
- GHSA-j5h6-vqc3-phqh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences