Access Control Bypass Affecting @directus/api package, versions <32.0.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th 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 Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-DIRECTUSAPI-13985179
  • published14 Nov 2025
  • disclosed13 Nov 2025
  • creditBeatriz Fresno Naumova

Introduced: 13 Nov 2025

NewCVE-2025-64746  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade @directus/api to version 32.0.2 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 Access Control Bypass due to improper cleanup of field-level permissions when a field is deleted. An attacker can gain unauthorized access to data by creating a new field with the same name as a previously deleted field, thereby inheriting outdated permission entries.

References

CVSS Base Scores

version 4.0
version 3.1