Skip to main content

CVE-2026-35441

MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-04-04 https://github.com/directus/directus GHSA-ph52-67fq-75wj
6.5
CVSS 3.1 · Vendor: https://github.com/directus/directus
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS 6.5 (Medium) with CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H reflects network-accessible attack vector, low complexity, low privilege requirement (authenticated users, including read-only accounts), and high availability impact with no confidentiality or integrity consequences. The PR:L (requires low privilege) designation is critical: any authenticated user, even those granted minimal read-only access to a single collection, can trigger the attack. Real-world risk is elevated because authentication is the sole barrier - not multi-factor, not administrative privileges - and the attack is deterministic (low AC). The vulnerability directly exploits a resource-exhaustion pattern (CWE-400) with clear linear scaling: more aliases equal more concurrent queries. Rate limiting being disabled by default means no runtime safeguards exist in typical deployments. This is a genuine priority for Directus instances exposed to untrusted authenticated users or those with federated identity providers. However, it does not grant data exfiltration or code execution, limiting scope to availability.

Exploit ScenarioDerived

An authenticated user with read-only access to a single Directus collection crafts a GraphQL query with dozens of aliases, each invoking the same expensive relational resolver with identical arguments (e.g., fetching deeply nested relationships). The user submits the query to /graphql. Without deduplication, the server spawns independent database queries for each alias concurrently, exhausting the connection pool and CPU. Multiple simultaneous such queries from the same or different authenticated users compound the effect, potentially triggering cascading timeouts or crashes that degrade service for all users. No public exploit code has been reported, but the attack is straightforward to implement using standard GraphQL syntax and any HTTP client.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Apr 04, 2026

Directus GraphQL endpoints fail to deduplicate resolver invocations within single requests, allowing authenticated users to exploit GraphQL aliasing for denial-of-service attacks. An attacker with minimal read-only permissions can repeat expensive relational queries using multiple aliases in a single request, forcing concurrent execution of numerous complex database queries that exhaust connection pools and server resources, potentially degrading or crashing the service. No public exploit code has been identified, and this vulnerability requires prior authentication to the Directus instance.

RemediationAI

Upgrade the 'directus' npm package to the patched version released by Directus that includes request-scoped resolver deduplication. Exact patched version numbers must be confirmed from the Directus security advisory (https://github.com/directus/directus/security/advisories/GHSA-ph52-67fq-75wj). As an interim mitigation before patching, enable and configure rate limiting in Directus configuration to throttle GraphQL requests per authenticated user, or restrict GraphQL endpoint access via reverse proxy rate limiting (e.g., nginx, AWS WAF, Cloudflare). Monitor database connection pool utilization and server CPU/memory under load from authenticated users. If Directus is exposed only to trusted internal users, the risk is substantially lower, but patch deployment remains recommended for defense-in-depth.

Affected Packages

npm directus fix: 11.17.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 exposes GraphQL endpoints at /graphql and /graphql/system that process complex relational queries against backend databases. The vulnerability stems from CWE-400 (Uncontrolled Resource Consumption) - specifically, the GraphQL resolver layer did not implement request-scoped deduplication of identical resolver calls. GraphQL's aliasing feature allows a single query to invoke the same resolver multiple times with identical arguments under different alias names. Without deduplication, each alias triggers an independent resolver execution and database query, amplifying resource consumption linearly. While token limits and relational depth limits existed, they applied per-alias rather than per-request, and rate limiting was disabled by default, providing no throttle on the attack. The affected product is the npm package 'directus' across versions vulnerable to this resolver exhaustion pattern.

Know when the next one hits your stack

  • 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 (https://github.com/directus/directus) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (https://github.com/directus/directus) · only source for this CVE.

CVSS VectorVendor: https://github.com/directus/directus

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

Lifecycle Timeline

2
Patch released
Apr 04, 2026 - 08:30 nvd
Patch available
CVE Published
Apr 04, 2026 - 06:12 nvd
MEDIUM 6.5

DescriptionCVE.org

Summary

Directus' GraphQL endpoints (/graphql and /graphql/system) did not deduplicate resolver invocations within a single request. An authenticated user could exploit GraphQL aliasing to repeat an expensive relational query many times in a single request, forcing the server to execute a large number of independent complex database queries concurrently, multiplying database load linearly with the number of aliases. The existing token limit on GraphQL queries still permitted enough aliases for significant resource exhaustion, while the relational depth limit applied per alias without reducing the total number executed. Rate limiting is disabled by default, meaning no built-in throttle prevented this from causing CPU, memory, and I/O exhaustion that could degrade or crash the service. Any authenticated user, including those with minimal read-only permissions, could trigger this condition.

Fix

A request-scoped resolver deduplication mechanism was introduced and applied broadly across all GraphQL read resolvers, both system and items endpoints. When multiple aliases in a single request invoke the same resolver with identical arguments, only the first call executes; all subsequent aliases share its result. This eliminates the amplification factor regardless of how many aliases a query contains.

Impact

  • Service degradation or outage: Concurrent complex database queries exhaust the connection pool and server resources, affecting all users
  • Low privilege required: Any authenticated user, including those with read-only access to a single collection, can trigger this condition
  • Linear scaling: Impact scales with the number of aliases and depth of relational queries
  • Compounded by concurrency: Multiple simultaneous requests multiply the effect further

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 npm packages depend on directus (1 direct, 2 indirect)

Ecosystem-wide dependent count for version 11.17.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GHSA GitHub

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

pkg:npm/directus

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