CVE-2024-39896: Directus Allows Single Sign-On User Enumeration

directus Updated 02 Oct 2025

Summary

08/07/2024
Yes i
High
7.5

CVE-2024-39896: Directus Allows Single Sign-On User Enumeration. Affects directus versions >= 9.11, < 10.13.0. Fixed in 10.13.0. 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 Penetration testing for web, API and mobile 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 content management system (CMS) that provides a user-friendly interface for managing databases. It allows users to create, edit, and delete content in a structured manner. Directus supports Single Sign-On (SSO) authentication, which enables users to log in using their existing credentials from external identity providers. This feature enhances user convenience and security. However, a vulnerability in Directus allows for user enumeration when using SSO in combination with local authentication.

Vulnerability Detail

The vulnerability arises from the error messages thrown by Directus when attempting to log in with a valid or invalid email address. If an email address exists in Directus and belongs to a known SSO provider, the system will display an error indicating that the user belongs to another provider. This behavior can be exploited to enumerate existing SSO users in the Directus instance. An attacker can use this information to identify valid email addresses associated with SSO accounts, potentially facilitating further attacks or unauthorized access.

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

10.13.0

This is the first release that contains the fix.

npm install directus@10.13.0

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

Workaround

If SSO is the only authentication method used in Directus, the vulnerability can be mitigated by disabling local login. This can be achieved by setting the environment variable AUTH_DISABLE_DEFAULT to "true". However, this workaround should be used with caution, as it may limit the flexibility of authentication options.

Conclusion

The vulnerability in Directus allows for user enumeration when using SSO in combination with local authentication. It is crucial for Directus users to update their installations to version 10.13.0 or later to fix this vulnerability. Additionally, if SSO is the sole authentication method, disabling local login can provide a workaround. By addressing this vulnerability, the security and integrity of Directus instances can be enhanced.

See every vulnerability recorded for directus →

Share this vulnerability

FAQ

Directus is an open-source content management system that provides a user-friendly interface for managing databases.

Single Sign-On authentication allows users to log in to multiple systems or applications using a single set of credentials from an external identity provider.

The vulnerability allows an attacker to enumerate existing SSO users in a Directus instance, potentially facilitating further attacks or unauthorized access.

The vulnerability has been fixed in Directus version 10.13.0. It is recommended to upgrade to this version or any subsequent releases.

Yes, if SSO is the only authentication method used, the vulnerability can be mitigated by disabling local login through the AUTH_DISABLE_DEFAULT environment variable.

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

10.13.0

This is the first release that contains the fix.

npm install directus@10.13.0

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