GHSA-wv3h-5fx7-966h

Suggest an improvement
Source
https://github.com/advisories/GHSA-wv3h-5fx7-966h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-wv3h-5fx7-966h/GHSA-wv3h-5fx7-966h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wv3h-5fx7-966h
Aliases
Published
2026-04-04T06:10:53Z
Modified
2026-04-07T14:38:09Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
Directus: SSRF Protection Bypass via IPv4-Mapped IPv6 Addresses in File Import
Details

Summary

A Server-Side Request Forgery (SSRF) protection bypass has been identified and fixed in Directus. The IP address validation mechanism used to block requests to local and private networks could be circumvented using IPv4-Mapped IPv6 address notation.

Details

Directus implements an IP deny-list to prevent server-side requests to internal/private network ranges. The validation logic failed to normalize IPv4-Mapped IPv6 addresses (e.g., the IPv6 representation of 127.0.0.1) before checking them against the deny-list. Because the deny-list check did not recognize these mapped addresses as equivalent to their IPv4 counterparts, an attacker could bypass the restriction while the underlying HTTP client and operating system still resolved and connected to the intended private target.

This has been fixed by adding a normalization step that converts IPv4-Mapped IPv6 addresses to their canonical IPv4 form prior to validation.

Impact

An authenticated user (or an unauthenticated user if public file-import permissions are enabled) could exploit this bypass to perform SSRF attacks against internal services on the same host (databases, caches, internal APIs) or cloud instance metadata endpoints (e.g., AWS/GCP/Azure IMDS).

Database specific
{
    "cwe_ids":  [
        "CWE-20",
        "CWE-918"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-04-04T06:10:53Z",
    "nvd_published_at":  "2026-04-06T22:16:21Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / directus

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
11.16.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-wv3h-5fx7-966h/GHSA-wv3h-5fx7-966h.json"