CVE-2026-61835 Directus: SSRF Protection Bypass via 0.0.0.0 in File Import
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Directus is a real-time API and App dashboard for managing SQL database content. Prior to 12.0.0, the SSRF protection on Directus's file-import-from-URL feature can be bypassed using the address 0.0.0.0 because api/src/request/is-denied-ip.ts treats 0.0.0.0 as a keyword for local interfaces but never blocks the literal address itself. On Linux and macOS, connecting to 0.0.0.0 reaches localhost, so an authenticated user with file-upload rights can make the server fetch internal services through the /files/import endpoint and retrieve the response as a downloadable file. This issue is fixed in version 12.0.0.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| monospace directus | < 12.0.0 | 12.0.0 | Fixed |
| npm directus(npm) | < 12.0.0 | 12.0.0 | Fixed |
| directus | = < 12.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| directus | = < 12.0.0 | No fix listed |
| npm directus(npm) | < 12.0.0 | 12.0.0 |
| monospace directus | < 12.0.0 | 12.0.0 |
References
- https://github.com/directus/directus/security/advisories/GHSA-j5h6-vqc3-phqh vendor-advisory
- https://github.com/directus/directus/pull/27606 issue-tracking patch
- https://github.com/directus/directus/commit/f75b25fa44b05c6022b20f231c20bc6e50f021d7 patch
- https://github.com/directus/directus/releases/tag/v12.0.0 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product