Server-side Request Forgery (SSRF) Affecting @directus/api package, versions <36.0.0-rc.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-DIRECTUSAPI-18017744
  • published19 Jul 2026
  • disclosed15 Jul 2026
  • creditUnknown

Introduced: 15 Jul 2026

NewCVE-2026-61835  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade @directus/api to version 36.0.0-rc.1 or higher.

Overview

@directus/api is a real-time API and App dashboard for managing SQL database content

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the file-import-from-URL. An attacker can access internal network resources by supplying the address 0.0.0.0 to the /files/import endpoint, causing the server to fetch and return responses from internal services as downloadable files.

Note: This is only exploitable if the attacker is an authenticated user with file-upload rights.

CVSS Base Scores

version 4.0
version 3.1