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.
Published: 2026-07-15
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Directus versions prior to 12.0.0 implement an SSRF protection that incorrectly permits the literal IP address 0.0.0.0. This weakness is a Server Side Request Forgery (CWE-918). The code that checks denied IPs treats 0.0.0.0 as a keyword for local interfaces but does not block the address itself. On Linux and macOS, connecting to 0.0.0.0 resolves to localhost, which means an authenticated user with file‑upload privileges can instruct the server to fetch arbitrary internal services through the /files/import endpoint and extract the response as a downloadable file. The vulnerability therefore enables internal network reconnaissance and potential data exfiltration through the API.

Affected Systems

Any installation of Directus running a version earlier than 12.0.0 is susceptible. The issue is fixed in the 12.0.0 release and later versions; upgrading to 12.0.0 or newer removes the bypass path.

Risk and Exploitability

The CVSS score is 7.7, indicating high severity. The EPSS score is less than 1 %, suggesting a low probability of exploitation at present, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires authentication with file‑upload rights and an internal network reachable from the Directus host. Once performed, the attacker can download the content of internal services as files, compromising confidentiality and potentially enabling further attacks on internal infrastructure.

Generated by OpenCVE AI on July 31, 2026 at 03:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Directus to version 12.0.0 or later to remove the SSRF bypass.
  • If an upgrade cannot be performed immediately, disable the file‑import‑from‑URL feature to prevent the SSRF path from being used.
  • Restrict user roles so that only trusted operators have file‑upload permissions and monitor for 0.0.0.0 requests in logs.

Generated by OpenCVE AI on July 31, 2026 at 03:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-j5h6-vqc3-phqh Directus: SSRF Protection Bypass via 0.0.0.0 in File Import
History

Tue, 21 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Directus
Directus directus
Vendors & Products Directus
Directus directus

Wed, 15 Jul 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title Directus: SSRF Protection Bypass via 0.0.0.0 in File Import
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}


Subscriptions

Directus Directus
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-21T14:07:42.434Z

Reserved: 2026-07-10T20:28:17.511Z

Link: CVE-2026-61835

cve-icon Vulnrichment

Updated: 2026-07-21T14:07:37.526Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T03:45:04Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)