Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with file-upload rights
-
DeliveryCall /files/import with http://0.0.0.0:<port> URL
-
ExploitBypass denylist via literal 0.0.0.0
-
ExecutionServer fetches internal loopback service
-
PersistDownload stored response file
-
ImpactExfiltrate internal data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Directus account (prior to 12.0.0) that has file-upload/import permissions, and the server must run on Linux or macOS where a connection to the literal address 0.0.0.0 is routed to localhost. The specific trigger is supplying a URL using 0.0.0.0 (rather than 127.0.0.1/localhost, which are already blocked) to the file-import-from-URL feature via the /files/import endpoint. Limiting factors: exploitation is gated on holding upload rights (not unauthenticated), depends on internal services actually listening on loopback, and does not apply to Windows hosts because they do not route 0.0.0.0 to localhost the same way; it also only yields data readable over the fetched protocol (confidentiality impact), with no direct integrity or availability effect. |
| Impact | The supplied CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N, base 7.7 High) is internally consistent with the description: network-reachable, low-complexity, requires low-privilege authentication (a user with file-upload rights), no user interaction, changed scope (the vulnerable app is pivoted to reach other systems), high confidentiality impact, and no integrity or availability impact. This is a genuine, exploitable SSRF rather than a paper-high finding, but the PR:L requirement meaningfully limits the population of attackers to those who already hold authenticated upload permissions, lowering the odds of mass, unauthenticated internet-scale exploitation. No EPSS score was provided, it is not listed in CISA KEV (no confirmed active exploitation), and no public proof-of-concept was identified - so real-world priority hinges on how exposed and privileged the Directus instance is. Platform is a real limiter: the 0.0.0.0-to-localhost behavior applies to Linux and macOS, not Windows. Treat as a prompt-to-patch issue for internet-exposed or multi-tenant Directus deployments, and lower priority where upload rights are tightly held. |
| Exploit ScenarioDerived | An authenticated Directus user who holds file-upload rights calls the /files/import endpoint with a URL such as http://0.0.0.0:<port>/ pointing at an internal service (for example a cloud metadata endpoint, admin API, or database dashboard bound to localhost). Because the denylist fails to block the literal 0.0.0.0, the server fetches the internal resource and stores the response as a downloadable file the attacker can then retrieve, exfiltrating internal data. No public exploit was identified, but the attack is low-complexity (AC:L) and needs only network access plus low-privilege credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
Server-side request forgery in Directus before 12.0.0 lets an authenticated user with file-upload rights abuse the /files/import endpoint to make the server fetch internal-only services and return their responses as downloadable files. The flaw stems from an incomplete SSRF denylist in api/src/request/is-denied-ip.ts, which treated 0.0.0.0 as a keyword but never blocked the literal address, so on Linux and macOS a request to 0.0.0.0 resolves to localhost and bypasses the protection. No public exploit identified at time of analysis and it is not in CISA KEV; EPSS was not provided.
RemediationAI
Vendor-released patch: upgrade Directus to version 12.0.0 or later, which updates the IP denylist to parse the 0.0.0.0/8 subnet and block the IPv6 unspecified address :: (per PR #27606 and commit f75b25f); see the advisory at https://github.com/directus/directus/security/advisories/GHSA-j5h6-vqc3-phqh and release https://github.com/directus/directus/releases/tag/v12.0.0. If you cannot upgrade immediately, reduce risk by revoking file-upload/import permissions from untrusted or non-essential roles so fewer accounts can invoke /files/import (trade-off: breaks legitimate URL-import workflows for those roles), and by placing an egress firewall or proxy in front of the Directus server that blocks outbound connections from the app to loopback, link-local, and internal RFC1918 ranges including 0.0.0.0 and :: (trade-off: may break legitimate internal integrations and requires careful allowlisting). Where feasible, disable or restrict the import-from-URL feature at the network layer until the upgrade is applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Directus is a widely used open-source headless CMS/real-time data platform (cpe:2.3:a:directus:directus) that exposes SQL database content through an API and admin app. Its file-import-from-URL feature (POST /files/import) instructs the server to fetch a remote URL, a classic SSRF-prone design (CWE-918, Server-Side Request Forgery). Directus mitigates this with an IP denylist in api/src/request/is-denied-ip.ts, but the code special-cased the string 0.0.0.0 as a keyword for local interfaces without blocking the literal 0.0.0.0 address. On Linux and macOS the kernel routes connections to 0.0.0.0 to the loopback interface (localhost), so the denylist gap allowed the server to reach services bound to 127.0.0.1. The upstream fix (PR #27606, commit f75b25f) broadens the denylist by parsing the 0.0.0.0/8 subnet and blocking the IPv6 unspecified address ::.
Know when Directus gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Network-reachable SSRF needing only low-privilege upload rights (PR:L) and no interaction; scope changes to internal systems (S:C) with high confidentiality but no integrity/availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 2 npm packages depend on directus (1 direct, 1 indirect)
Ecosystem-wide dependent count for version 12.0.0.
Executive ViewAI
Directus file management systems before version 12.0.0 contain a server-side request forgery vulnerability enabling authenticated file-upload users to access internal network services and return their responses as files. This creates risk of credential exposure, internal API enumeration, or lateral movement within organizations using Directus for content or asset management. Immediate privilege restriction and network isolation are required.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict file-upload permissions to administrative users only; (2) implement egress firewall rules blocking Directus servers from accessing internal service networks; (3) maintain detailed audit logs of all /files/import requests with source user and target URLs; (4) consider disabling the import endpoint entirely if not operationally required pending patch availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Directus 6.4.9 has a hardcoded admin password for the Admin account because of an INSERT statement in api/schema.sql. Ra
Directus is a real-time API and App dashboard for managing SQL database content. Rated critical severity (CVSS 9.3), thi
Directus instances that expose the WebSocket REST interface in public authentication mode can be driven into a state whe
Directus 8 before 8.8.2 allows remote authenticated users to execute arbitrary code because file-upload permissions incl
In Directus 8.x through 8.8.1, an attacker can switch to the administrator role (via the PATCH method) without any contr
Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 8.6), this vu
Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 8.2), this vu
Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.7), this vu
Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu
Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu
Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu
In Directus 8.x through 8.8.1, an attacker can see all users in the CMS using the API /users/{id}. Rated high severity (
EUVD-2026-44672
GHSA-j5h6-vqc3-phqh
NVD
CVE.org
EPSS
VulDB
Exploit-DB