Vulnerability DatabaseGHSA-mvv8-v4jj-g47j

GHSA-mvv8-v4jj-g47j
JavaScript vulnerability analysis and mitigation

Summary

Directus stores revision records (in directus_revisions) whenever items are created or updated. Due to the revision snapshot code not consistently calling the prepareDelta sanitization pipeline, sensitive fields (including user tokens, two-factor authentication secrets, external auth identifiers, auth data, stored credentials, and AI provider API keys) could be stored in plaintext within revision records. Additionally, the same sensitive fields were missing from the redaction list used when Directus Flows logged operation payloads involving the directus_users collection.

Impact

Any user or service account with read access to directus_revisions (or flow logs) could retrieve values for fields that are supposed to be concealed or encrypted at rest, including:

  • token, tfa_secret, external_identifier, auth_data, credentials
  • ai_openai_api_key, ai_anthropic_api_key, ai_google_api_key, ai_openai_compatible_api_keyThis could lead to account takeover (via stolen tokens or 2FA secrets) or unauthorized use of third-party API keys stored against users.

Affected code paths

  1. Item create/update revisions The data (snapshot) field written to directus_revisions was not processed through prepareDelta, so concealed/encrypted fields were stored without redaction. Relational fields were also included, which should have been excluded.
  2. Authentication service When a user was auto-suspended after repeated failed login attempts, the revision record was created with the raw user object (including all sensitive fields) rather than the sanitized delta.
  3. Flows The payload redaction list used when writing flow logs was missing token, tfa_secret, external_identifier, auth_data, credentials, and the AI API key fields, causing these to be written unredacted into flow execution data.

SourceNVD

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-35442HIGH8.1
  • JavaScriptJavaScript
  • directus
NoYesApr 04, 2026
CVE-2026-35209HIGH7.5
  • JavaScriptJavaScript
  • defu
NoYesApr 04, 2026
GHSA-6q22-g298-grjhHIGH7.5
  • JavaScriptJavaScript
  • directus
NoYesApr 04, 2026
GHSA-mvv8-v4jj-g47jMEDIUM6.5
  • JavaScriptJavaScript
  • directus
NoYesApr 04, 2026
CVE-2026-35441MEDIUM6.5
  • JavaScriptJavaScript
  • directus
NoYesApr 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management