Servers and applications
CVE-2026-61835
SSRF Protection Bypass via 0.0.0.0 in File Import
- Severity
- High 7.7
- Published
- 24 Jun 2026
- Last changed
- 28 Jul 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 12.0.0
- Exploit chance
- 0.4% in the next 30 daysHigher than 35% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N- Also known as
- GHSA-j5h6-vqc3-phqh
- Sources
- NVD, Project advisories (GitHub)
Description
The SSRF protection on Directus's file-import-from-URL feature can be bypassed using the address 0.0.0.0. While 127.0.0.1 and other internal addresses are denied, 0.0.0.0 is not added to the blocklist. 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 and retrieve the response as a downloadable file (full-read SSRF).
Directus uses a deny-list config, IMPORT_IP_DENY_LIST, whose default value is ['0.0.0.0', '169.254.169.254'].
The issue is in how api/src/request/is-denied-ip.ts processes this list. When it encounters the entry 0.0.0.0, it treats it as a special keyword meaning "block all local network interfaces," but it never blocks the literal address 0.0.0.0 itself. The handler sets the network-interface flag and skips to the next entry without adding 0.0.0.0 to the blocklist.
Affected software
| Software | Affected versions |
|---|---|
DirectusServers and applications · cpe:a:monospace:directus |
|
DirectusServers and applications · github:directus/directus |
|
About Directus
The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.
- Weekly downloads (npm)
- 30,924npm, 15 Nov 2026
- Docker Hub pulls
- 50,954,770Docker Hub, 15 Nov 2026
- GitHub stars
- 38,722GitHub, 15 Nov 2026
- Forks
- 5,000GitHub, 15 Nov 2026
- Latest release
- v12.6.1GitHub, 15 Nov 2026
- Released
- 4 Nov 2026GitHub
- First published on GitHub
- 12 Dec 2012GitHub
Source code Website Docker image Package
Vulnerabilities in Directus
- In our list
- 85
- Published in the last 12 months
- 40
- Critical, last 12 months
- 3
- High, last 12 months
- 16
- Known exploited
- 0
- CVE-2026-126539Directus before 12.1.0 Authorization Bypass via Public WebSocket REST InterfaceCritical 9.2 11 Nov 2026
- GHSA-jvxj-w2qp-5vmxIP-restricted policies bypassed via GraphQL WebSocket subscriptionsMedium 6.8 30 Oct 2026
- GHSA-95f8-mvw7-gpj9File uploads can write into the extensions directory, leading to code execution in overlapping storage configurationsMedium 6.6 30 Oct 2026
- GHSA-32cw-mf7w-gpqrAuthenticated persistent Denial of Service via prototype pollution in CSV importHigh 7.1 30 Oct 2026
- GHSA-xf86-hfpm-92xrAI Chat route exposes admin-only tools to non-admin usersLow 3.1 19 Oct 2026
- GHSA-2xcm-7h22-3m66Update and delete by query evaluate filters without read permissions, leaking hidden field valuesMedium 6.5 19 Oct 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-61835
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-61835
- GitHub Advisory Database https://github.com/advisories/GHSA-j5h6-vqc3-phqh
- github.com https://github.com/directus/directus/security/advisories/GHSA-j5h6-vqc3-phqh