Vulnerabilities in pkg:npm/@directus/api

PACKAGE
Advisory Identifier: GHSA-jr94-gj3h-c8rf
Advisory Summary

CVE-2026-26185 is a MODERATE (CVSS 5.3) directus vulnerable to user enumeration vulnerability (CWE-203: Observable Discrepancy) affecting Directus libraries in the npm ecosystem. The issue involves directus vulnerable to user enumeration via password reset timing attack. Remediation is available by upgrading affected packages to version 11.14.1, 32.2.0.

12 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@directus/api

12 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@directus/api. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-jr94-gj3h-c8rf CVE-2026-26185 MODERATE Directus Vulnerable to User Enumeration via Password Reset Timing Attack
GHSA-3573-4c68-g8cc CVE-2026-22032 MODERATE Directus has open redirect in SAML
GHSA-cff8-x7jv-4fm8 CVE-2024-45596 HIGH Session is cached for OpenID and OAuth2 if `redirect` is not used
GHSA-cph6-524f-3hgr CVE-2025-64749 MODERATE Directus Vulnerable to Information Leakage in Existing Collections
GHSA-8jpw-gpr4-8cmh CVE-2025-64748 MODERATE Directus's conceal fields are searchable if read permissions enabled
GHSA-mv33-9f6j-pfmc CVE-2025-55746 CRITICAL Directus allows unauthenticated file upload and file modification due to lacking input sanitization
GHSA-56p6-qw3c-fq2g CVE-2025-30351 LOW Suspended Directus user can continue to use session token to access API
GHSA-vw58-ph65-6rxp CVE-2024-47822 MODERATE Directus inserts access token from query string into logs
GHSA-99vm-5v2h-h6r6 CVE-2025-27089 MODERATE Directus allows updates to non-allowed fields due to overlapping policies
GHSA-849r-qrwj-8rv4 CVE-2024-54151 HIGH Directus allows unauthenticated access to WebSocket events and operations
GHSA-68g8-c275-xf2m CVE-2024-46990 MODERATE Directus vulnerable to SSRF Loopback IP filter bypass
GHSA-8p72-rcq4-h6pw CVE-2024-39699 MODERATE Directus Blind SSRF On File Import

CVE-2026-26185 at a Glance

CVE Identifier CVE-2026-26185
GHSA Identifier GHSA-jr94-gj3h-c8rf
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-203: Observable Discrepancy
Affected Product Directus
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-26185

To remediate this vulnerability, upgrade all affected Directus dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

directus fixed: 11.14.1
npm install directus@11.14.1
@directus/api fixed: 32.2.0
npm install @directus/api@32.2.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls directus

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-26185, inspect your project dependencies using npm:

npm ls directus

Analyze the terminal output to locate any version of Directus in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 11.14.1), your application is affected.

Note: The npm ls directus command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-203: Observable Discrepancy, where the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. In Directus, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary A timing-based user enumeration vulnerability exists in the password reset functionality. When an invalid reset_url parameter is provided, the response time differs by approximately 500ms between existing and non-existing users, enabling reliable user enumeration. ### Details The password reset endpoint implements a timing protection mechanism to prevent user enumeration; however, URL validation executes before the timing protection is applied. This allows an attacker to distinguish between valid and invalid user accounts based on response timing differences. ### Impact This vulnerability violates user privacy and may facilitate targeted phishing attacks by allowing attackers to confirm the existence of user accounts.

CVE-2026-26185 Affected Directus Versions

2 component(s)
Fixed Versions:
11.14.132.2.0
Product / Package Ecosystem Affected Versions Fixed Version
directus
npm
< 11.14.1
11.14.1
@directus/api
npm
< 32.2.0
32.2.0

References

Frequently Asked Questions

What is CVE-2026-26185?
CVE-2026-26185 is a security vulnerability in Directus involving Directus Vulnerable to User Enumeration via Password Reset Timing Attack under CWE-203: Observable Discrepancy.
Which Directus versions are affected?
Affected versions include releases prior to 11.14.1, 32.2.0 across affected packages: directus, @directus/api.
What version fixes CVE-2026-26185?
Upgrading to 11.14.1, 32.2.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is directus affected?
Yes, directus is affected in releases prior to 11.14.1. Upgrade your dependency to 11.14.1 or later.
Is @directus/api affected?
Yes, @directus/api is affected in releases prior to 32.2.0. Upgrade your dependency to 32.2.0 or later.
What is the CVSS score of CVE-2026-26185?
CVE-2026-26185 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2026-26185?
CVE-2026-26185 is classified under CWE-203: Observable Discrepancy (The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.).
How can I check npm dependencies for CVE-2026-26185?
Run the dependency tree command: 'npm ls directus'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jr94-gj3h-c8rf",
  "modified" : "2026-02-13T17:15:48Z",
  "published" : "2026-02-12T22:13:04Z",
  "aliases" : [ "CVE-2026-26185" ],
  "summary" : "Directus Vulnerable to User Enumeration via Password Reset Timing Attack",
  "details" : "### Summary\n\nA timing-based user enumeration vulnerability exists in the password reset functionality. When an invalid reset_url parameter is provided, the response time differs by approximately 500ms between existing and non-existing users, enabling reliable user enumeration.\n\n### Details\n\nThe password reset endpoint implements a timing protection mechanism to prevent user enumeration; however, URL validation executes before the timing protection is applied. This allows an attacker to distinguish between valid and invalid user accounts based on response timing differences.\n\n### Impact\n\nThis vulnerability violates user privacy and may facilitate targeted phishing attacks by allowing attackers to confirm the existence of user accounts.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "directus"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "11.14.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@directus/api"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "32.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/directus/directus/security/advisories/GHSA-jr94-gj3h-c8rf"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-26185"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/directus/directus/pull/26485"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/directus/directus/commit/e69aa7a5248c6e3e822cb1ac354dee295df90b2a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/directus/directus"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/directus/directus/releases/tag/v11.14.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-203" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-12T22:13:04Z",
    "nvd_published_at" : "2026-02-12T22:16:07Z"
  }
}