What’s Vulnerable › Vulnerabilities
CVE-2024-39699: Directus has a Blind SSRF On File Import
- Severity: medium (CVSS 5.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-07-08 · updated 2026-06-17
- Weakness: CWE-918
Description
Directus is a real-time API and App dashboard for managing SQL database content. There was already a reported SSRF vulnerability via file import. It was fixed by resolving all DNS names and checking if the requested IP is an internal IP address. However it is possible to bypass this security measure and execute a SSRF using redirects. Directus allows redirects when importing file from the URL and does not check the result URL. Thus, it is possible to execute a request to an internal IP, for example to 127.0.0.1. However, it is blind SSRF, because Directus also uses response interception technique to get the information about the connect from the socket directly and it does not show a response if the IP address is internal. This vulnerability is fixed in 10.9.3.
Affected products
- directus: before 10.9.3 — fixed in 10.9.3
How to fix
Upgrade to a fixed version: directus 10.9.3. Check the vendor advisory for mitigations.
References
- https://github.com/directus/directus/commit/d577b44231c0923aca99cac5770fd853801caee1
- https://github.com/directus/directus/security/advisories/GHSA-8p72-rcq4-h6pw
- https://github.com/directus/directus/commit/d577b44231c0923aca99cac5770fd853801caee1
- https://github.com/directus/directus/security/advisories/GHSA-8p72-rcq4-h6pw
Get alerted when CVE-2024-39699 or the next vulnerability affects your stack