SCA: security update for @directus/api, @directus/types, directus (GHSA-56p6-qw3c-fq2g)

medium Tenable Self-Hosted Container Security Plugin ID 421242

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Directus is a real-time API and App dashboard for managing SQL database content. Starting in version
10.10.0 and prior to version 11.5.0, a suspended user can use the token generated in session auth mode to
access the API despite their status. This happens because there is a check missing in `verifySessionJWT`
to verify that a user is actually still active and allowed to access the API. One can extract the session
token obtained by, e.g. login in to the app while still active and then, after the user has been suspended
continue to use that token until it expires. Version 11.5.0 patches the issue. (CVE-2025-30351)

See Also

https://github.com/advisories/GHSA-56p6-qw3c-fq2g

Plugin Details

Severity: Medium

ID: 421242

Version: Revision 1.11

Type: Local

Family: SCA Checks

Published: 3/27/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:N/A:N

CVSS Score Source: CVE-2025-30351

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/26/2025

Vulnerability Publication Date: 3/26/2025

Reference Information

CVE: CVE-2025-30351

cwe: CWE-672