# CVE-2024-28239: URL Redirection to Untrusted Site in OAuth2/OpenID in directus

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-12T20:23:37.857Z
- Modified: 2026-09-10T03:50:10.481Z
- Also known as: GHSA-fr3w-2p22-6w7p
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- directus directus: < 10.10.0
- monospace directus: before 10.10.0
- directus (npm): before 10.10.0

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/directus/directus/security/advisories/GHSA-fr3w-2p22-6w7p> (exploit, vendor-advisory, web)
- <https://github.com/directus/directus/commit/5477d7d61babd7ffc2f835d399bf79611b15b203> (patch, web)
- <https://docs.directus.io/reference/authentication.html#login-using-sso-providers> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-28239> (advisory)
- <https://github.com/directus/directus> (package)

## Sources

- CVE List: [CVE-2024-28239](https://www.cve.org/CVERecord?id=CVE-2024-28239), CVE Terms of Use, modified 2024-08-22
- GitHub Advisory Database: [GHSA-fr3w-2p22-6w7p](https://github.com/advisories/GHSA-fr3w-2p22-6w7p), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-28239](https://nvd.nist.gov/vuln/detail/CVE-2024-28239), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-28239 · Whole record: https://cve.day/CVE-2024-28239.json · Rebuilt by cve.day 2026-11-25T22:58:37.479Z
