URL Redirection to Untrusted Site in OAuth2/OpenID in directus
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-601.
Summary
Directus is a real-time API and App dashboard for managing SQL database content. The authentication API has a `redirect` parameter that can be exploited as an open redirect vulnerability as the user tries to log in via the API URL. There's a redirect that is done after successful login via the Auth API GET request to `directus/auth/login/google?redirect=http://malicious-fishing-site.com`. While credentials don't seem to be passed to the attacker site, the user can be phished into clicking a legitimate directus site and be taken to a malicious site made to look like a an error message "Your password needs to be updated" to phish out the current password. Users who login via OAuth2 into Directus may be at risk. This issue has been addressed in version 10.10.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| directus | directus | before 10.10.0 | 10.10.0 | Patch available | CNA |
| — | directus (npm) | before 10.10.0 | 10.10.0 | Patch available | GHSA-fr3w-2p22-6w7p |
- directus Vendordirectus Affected before 10.10.0 Fixed in 10.10.0 Patch available CNA
- directus (npm) Vendor— Affected before 10.10.0 Fixed in 10.10.0 Patch available GHSA-fr3w-2p22-6w7p
Remediation
- Fix · CNA directus (directus) Fixed in 10.10.0
- Fix · GHSA-fr3w-2p22-6w7p directus (npm) Fixed in 10.10.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-28239
- 2026-10-03 Alias added: GHSA-fr3w-2p22-6w7p
References
More Directus vulnerabilities
- TI-2025-21659 Directus's webhook trigger flows can leak sensitive data CVSS 3.1HIGH 8.6
- TI-2024-36266 Directus allows unauthenticated access to WebSocket events and operations CVSS 3.1HIGH 7.5
- TI-2024-26791 Directus allows SSO User Enumeration CVSS 3.1HIGH 7.5
- TI-2024-23956 Directus is soft-locked by providing a string value to random string util CVSS 3.1HIGH 7.5
- TI-2024-26624 Directus Incorrectly handles _in` filter CVSS 3.1HIGH 7.7
- TI-2025-21658 Directus `search` query parameter allows enumeration of non permitted fields CVSS 3.1MEDIUM 5.3
Sources
- CVE-2024-28239 · CVE Program
- CVE-2024-28239 · NVD
- FIRST EPSS
- GHSA-fr3w-2p22-6w7p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences