Skip to main content

directus-mcp CVE-2026-7729

| EUVDEUVD-2026-26883 LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-04 VulDB
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Directus instance
  2. Delivery
    Invoke MCP fileUrl parameter with internal IP
  3. Exploit
    validateUrl accepts URL without restrictions
  4. Execution
    Process initiates HTTP request to 169.254.169.254 or internal service
  5. Impact
    Attacker receives metadata or API response containing credentials/config

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

Exploitation requires authenticated access to the Directus instance or MCP client capable of invoking the vulnerable validateUrl function with a crafted fileUrl argument. The MCP Interface must be enabled and the fileUrl parameter must be passed without prior validation or routing through a protective proxy. The vulnerability affects any URL pointing to private networks, loopback addresses, link-local addresses, or cloud metadata services that the vulnerable directus-mcp process can reach. No special non-default configuration is required - the vulnerability exists in the default implementation of validateUrl. Exploitation is limited by the PR:L (low privilege) requirement: an attacker must have authentication credentials or control over a client that can authenticate to the MCP interface. Additionally, if the directus-mcp process lacks outbound network access to private ranges (enforced via firewall or container policies), exploitation is mitigated.

Impact

The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) indicates network-accessible exploitation requiring low attack complexity and user-level authentication, with confidentiality, integrity, and availability impact limited to the compromised account context (scope unchanged). The exploitation probability modifier E:P in the vector indicates 'proof of concept' exists, confirmed by publicly available exploit code on GitHub. Real-world risk is elevated by several factors: the product appears to be an integration layer for language models accessing Directus, meaning compromise could expose database credentials, authentication tokens, or enable pivot attacks to internal infrastructure; the presence of public exploit code dramatically lowers attacker skill requirements; and the patch is not yet released as a tagged version but awaits PR acceptance, leaving all users of version 1.0.0 vulnerable. However, the PR:L (low privilege) requirement provides meaningful mitigation - exploitation requires a Directus user account or MCP client with authentication. If directus-mcp is deployed in restricted environments (e.g., internal tools only) or behind authentication gates, real-world risk is lower than the CVSS suggests. Organizations using this in public-facing or high-privilege contexts (e.g., admin-only LLM integrations) face higher risk. The lack of high EPSS scores (not provided in input) or KEV listing suggests this is not yet subject to widespread automated exploitation, but the public POC makes it a realistic attack vector.

Exploit ScenarioDerived

An authenticated user of a Directus instance with directus-mcp installed crafts a malicious request by calling the MCP endpoint with a fileUrl parameter targeting a private network resource, such as http://169.254.169.254/latest/meta-data (AWS EC2 metadata) or http://10.0.0.5:8080 (internal service). The unvalidated validateUrl function accepts the URL, the directus-mcp process initiates a server-side request, and the attacker receives responses containing sensitive metadata, internal API responses, or credentials. Public exploit code on GitHub (https://github.com/BruceJqs/public_exp/issues/36) demonstrates this in detail.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 04, 2026

Server-side request forgery (SSRF) in pixelsock directus-mcp 1.0.0 allows authenticated remote attackers to manipulate the fileUrl argument in the validateUrl function, enabling requests to internal resources including cloud metadata services and private networks. Publicly available exploit code exists and a patch awaiting acceptance is available on GitHub. CVSS 6.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) reflects moderate impact with authentication requirement.

RemediationAI

Apply the patch from GitHub PR #14 (https://github.com/pixelsock/directus-mcp/pull/14), which replaces the insufficient validateUrl function with comprehensive SSRF protection including DNS resolution, IP validation, and blocklisting of private, loopback, link-local, multicast, and cloud metadata address ranges. If the PR has not yet been merged into a released version at the time of assessment, either apply the patch commits directly to your codebase or wait for the maintainers to merge and release a patched version. As an interim compensating control pending patch deployment, restrict network access from the directus-mcp process to only external, non-private networks via network policy (e.g., firewall rules, container security policies blocking 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 127.0.0.0/8, 169.254.0.0/16); however, this control is not foolproof if the MCP service has legitimate reasons to contact internal APIs. Alternatively, disable or restrict access to the fileUrl feature if not essential to your use case, reducing the attack surface. Monitor access logs for unexpected internal resource requests or DNS lookups to private address ranges.

Affected VersionsENISA

directus-mcp 1.0.0

Affected Packages

euvd directus_mcp no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the MCP Interface component's index.ts file, specifically in the validateUrl function that processes user-supplied fileUrl parameters without proper validation. The root cause is CWE-918 (Server-Side Request Forgery), where URL validation is insufficiently restrictive. The affected product is pixelsock directus-mcp (CPE: cpe:2.3:a:pixelsock:directus-mcp:*:*:*:*:*:*:*:*), a Model Context Protocol (MCP) implementation for Directus. The original code accepts URLs without checking whether the resolved hostname maps to forbidden address ranges such as private networks (10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12), loopback (127.0.0.0/8), link-local addresses (169.254.0.0/16 including cloud metadata endpoints like 169.254.169.254), or IPv6 equivalents. The patch introduces comprehensive SSRF prevention via DNS resolution validation, IP address parsing, and blocklisting of forbidden ranges including RFC 1918 private space, loopback, link-local, multicast, and cloud metadata addresses.

Know when Directus Mcp 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 (VulDB) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
PoC Detected
May 04, 2026 - 15:18 vuln.today
Public exploit code
Severity Changed
May 04, 2026 - 05:22 NVD
MEDIUM LOW
CVSS changed
May 04, 2026 - 05:22 NVD
6.3 (MEDIUM) 2.1 (LOW)
Patch released
May 04, 2026 - 04:30 nvd
Patch available
CVE Published
May 04, 2026 - 03:45 nvd
LOW 2.1

DescriptionCVE.org

A security flaw has been discovered in pixelsock directus-mcp 1.0.0. This issue affects the function validateUrl of the file index.ts of the component MCP Interface. Performing a manipulation of the argument fileUrl results in server-side request forgery. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. The pull request to fix this issue awaits acceptance.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
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.

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