Insertion of Sensitive Information into Log File Affecting @directus/api package, versions >=27.0.0 <28.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-DIRECTUSAPI-10744423
  • published15 Jul 2025
  • disclosed14 Jul 2025
  • creditUnknown

Introduced: 14 Jul 2025

NewCVE-2025-53885  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade @directus/api to version 28.0.0 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 Insertion of Sensitive Information into Log File via FlowManager when using the Log to Console operation. An attacker can access sensitive user data by leveraging administrative privileges to log information during user creation or update events.

Workaround

This vulnerability can be mitigated by avoiding logging sensitive data to the console outside the context of development.

CVSS Base Scores

version 4.0
version 3.1