Advisory

GHSA-wxwm-3fxv-mrvx

Also known as: CVE-2026-35413

Summary

Directus: GraphQL Schema SDL Disclosure Setting

Details

Summary

When GRAPHQL_INTROSPECTION=false is configured, Directus correctly blocks standard GraphQL introspection queries (__schema, __type). However, the server_specs_graphql resolver on the /graphql/system endpoint returns an equivalent SDL representation of the schema and was not subject to the same restriction. This allowed the introspection control to be bypassed, exposing schema structure (collection names, field names, types, and relationships) to unauthenticated users at the public permission level, and to authenticated users at their permitted permission level.

Impact

Administrators who set GRAPHQL_INTROSPECTION=false to hide schema structure from clients would have had a false sense of security, as equivalent schema information remained accessible via the SDL endpoint without authentication.

Credit

This vulnerability was discovered and reported by bugbunny.ai.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-04 06:10 UTC
Modified
2026-04-07 14:35 UTC

Affected packages and fixes

directus

npm · All systems

Affected

  • introduced 0, fixed 11.16.1 (semver)

Fixed versions

11.16.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences