CVE-2024-39896
mediumpriority · track · 21EPSS 0.005 · 43 %ileEUUSEPSS · scored 2026-10-27
Directus is a real-time API and App dashboard for managing SQL database content. When relying on SSO providers in combination with local authentication it can be possible to enumerate existing SSO users in the instance. This is possible because if an email address exists in Directus and belongs to a known SSO provider then it will throw a "helpful" error that the user belongs to another provider. This vulnerability is fixed in 10.13.0.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.9–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-jgf4-vwc3-r46vDirectus Allows Single Sign-On User Enumeration2024-07-08ghsa · osvUS
### Impact When relying on SSO providers in combination with local authentication it can be possible to enumerate existing SSO users in the instance. This is possible because if an email address exists in Directus and belongs to a known SSO provider then it will throw a "helpful" error that the user belongs to another provider. ### Reproduction 1. Create a user using a SSO provider `test@directus.io`. 2. Try to log-in using the regular login form (or the API) 3. When using a valid email address | **APP** | **API** | | --- | --- | |  |  | 4. When using an invalid email address | **APP** | **API** | | --- | --- | |  |  | 5. Using this differing error it is possible to determine whether a specific email address is present in the Directus instance as an SSO user. ### Workarounds When only using SSO for authentication then you can work around this issue by disabling local login using the following environment variable `AUTH_DISABLE_DEFAULT="true"` ### References Implemented as feature in https://github.com/directus/directus/pull/13184 https://owasp.org/www-project-web-security-testing-guide/v42/4-Web_Application_Security_Testing/03-Identity_Management_Testing/04-Testing_for_Account_Enumeration_and_Guessable_User_Account
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-39896/cnnvd
- https://github.com/directus/directus/commit/454cb534d6ffa547feb11f4d74b932ae7368dae2cnnvd
- https://github.com/directus/directus/releases/tag/v10.13.0Patchcnnvd
- https://github.com/directus/directus/security/advisories/GHSA-jgf4-vwc3-r46vcnnvd
- https://github.com/directus/directus/commit/454cb534d6ffa547feb11f4d74b932ae7368dae2enisa_euvd
- https://github.com/directus/directus/security/advisories/GHSA-jgf4-vwc3-r46venisa_euvd
- https://github.com/directus/directus/commit/454cb534d6ffa547feb11f4d74b932ae7368dae2Patchnvd
- https://github.com/directus/directus/security/advisories/GHSA-jgf4-vwc3-r46vExploitVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan