CVE-2026-35413: Directus GraphQL SDL Disclosure Vulnerability

directus Updated 04 Apr 2026

Summary

04/04/2026
Yes i
Moderate
5.3

CVE-2026-35413: Directus: GraphQL Schema SDL Disclosure Setting. Affects directus versions < 11.16.1. Fixed in 11.16.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Directus is an open-source headless CMS that allows users to manage content through a user-friendly interface and API. It provides a flexible and customizable platform for developers to build applications. However, it has a vulnerability related to its GraphQL implementation that can expose sensitive schema information.

Vulnerability Detail

The vulnerability arises when the configuration option GRAPHQL_INTROSPECTION is set to false, which is intended to block standard GraphQL introspection queries. Despite this setting, the server_specs_graphql resolver on the /graphql/system endpoint still returns an SDL representation of the schema. This oversight allows unauthenticated users and authenticated users at their permitted permission level to access sensitive schema information, such as collection names, field names, types, and relationships, effectively bypassing the intended security measures.

How To Fix

Latest published version: 12.5.0 as of 22 Oct 2026

npm install directus@12.5.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

11.16.1

This is the first release that contains the fix.

npm install directus@11.16.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can restrict access to the /graphql/system endpoint through your server configuration or API gateway, ensuring that only authorized users can access this endpoint until you can apply the patch.

Conclusion

The CVE-2026-35413 vulnerability in Directus exposes sensitive schema information despite the intention to restrict access through configuration. It is crucial for users to update to the patched version to secure their applications and prevent unauthorized access.

See every vulnerability recorded for directus →

Share this vulnerability

FAQ

The vulnerability allows unauthorized access to schema information via the SDL endpoint, even when introspection is disabled.

Any Directus user who has configured GRAPHQL_INTROSPECTION=false is potentially affected, as their schema information may be exposed.

Exposing schema information can lead to unauthorized access to sensitive data and may allow attackers to exploit other vulnerabilities in the application.

You can use Vulert to monitor your application for open-source vulnerabilities in real-time by analyzing your package-lock.json file.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Related vulnerabilities

Recent vulnerabilities recorded for directus.

How To Fix

Latest published version: 12.5.0 as of 22 Oct 2026

npm install directus@12.5.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

11.16.1

This is the first release that contains the fix.

npm install directus@11.16.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback