Skip to main content

Directus CVE-2026-61835

| EUVDEUVD-2026-44672 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-07-15 GitHub_M GHSA-j5h6-vqc3-phqh
7.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with file-upload rights
  2. Delivery
    Call /files/import with http://0.0.0.0:<port> URL
  3. Exploit
    Bypass denylist via literal 0.0.0.0
  4. Execution
    Server fetches internal loopback service
  5. Persist
    Download stored response file
  6. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

directus < 12.0.0

Affected Packages

npm directus fix: 12.0.0

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

Vendor (GitHub_M) PRIMARY 7.7 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 7.7 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Jul 15, 2026 - 17:48 EUVD
CVE Published
Jul 15, 2026 - 14:16 cve.org
HIGH 7.7

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 npm packages depend on directus (1 direct, 1 indirect)

Ecosystem-wide dependent count for version 12.0.0.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
popular open-source headless CMS/data platform, common but not ubiquitous
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2018-10723 CRITICAL POC
9.8 May 05

Directus 6.4.9 has a hardcoded admin password for the Admin account because of an INSERT statement in api/schema.sql. Ra

CVE-2025-55746 CRITICAL POC
9.3 Aug 20

Directus is a real-time API and App dashboard for managing SQL database content. Rated critical severity (CVSS 9.3), thi

CVE-2026-126539 CRITICAL POC
9.2 Nov 11

Directus instances that expose the WebSocket REST interface in public authentication mode can be driven into a state whe

CVE-2021-29641 HIGH POC
8.8 Apr 07

Directus 8 before 8.8.2 allows remote authenticated users to execute arbitrary code because file-upload permissions incl

CVE-2021-26594 HIGH POC
8.8 Feb 23

In Directus 8.x through 8.8.1, an attacker can switch to the administrator role (via the PATCH method) without any contr

CVE-2025-30353 HIGH POC
8.6 Mar 26

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 8.6), this vu

CVE-2024-27295 HIGH POC
8.2 Mar 01

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 8.2), this vu

CVE-2024-39701 HIGH POC
7.7 Jul 08

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.7), this vu

CVE-2024-54151 HIGH POC
7.5 Dec 09

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu

CVE-2024-36128 HIGH POC
7.5 Jun 03

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu

CVE-2023-26492 HIGH POC
7.5 Mar 03

Directus is a real-time API and App dashboard for managing SQL database content. Rated high severity (CVSS 7.5), this vu

CVE-2021-26593 HIGH POC
7.5 Feb 23

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 (

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy