Incorrect Authorization Affecting @directus/api package, versions >=22.0.0 <23.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined

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 Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-DIRECTUSAPI-8738176
  • published20 Feb 2025
  • disclosed19 Feb 2025
  • creditHannes Küttner

Introduced: 19 Feb 2025

NewCVE-2025-27089  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade @directus/api to version 23.1.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 Incorrect Authorization in the validateItemAccess behavior in validate-item-access.js, when applying overlapping policies to the same user. A user with read but not update permissions is able to modify unintended fields.

CVSS Scores

version 4.0
version 3.1