CVE-2025-27089: Directus Update Access Vulnerability Due to Overlapping Policies

directus Updated 02 Oct 2025

Summary

19/02/2025
Yes i
Moderate
5.4

CVE-2025-27089: Directus allows updates to non-allowed fields due to overlapping policies. Affects directus versions >= 11.0.0, < 11.1.2. Fixed in 11.1.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Directus is an open-source headless CMS that provides a powerful API for managing content. It allows users to create, manage, and distribute content across various platforms. The system is designed to be flexible and customizable, making it a popular choice for developers. However, it has been identified that certain overlapping policies in the update action can lead to unauthorized access to sensitive fields, potentially compromising user data.

Vulnerability Detail

The vulnerability arises from the way Directus handles overlapping permissions for the update action. When multiple policies allow access to different fields, the system incorrectly permits users to update a superset of fields rather than restricting access to only the fields they are authorized to modify. For instance, a user with permissions to update 'field_a' for item id 1 and 'field_b' for item id 2 can inadvertently update both fields across different items, leading to potential unauthorized changes, including sensitive data like passwords.

How To Fix

Latest published version: 12.5.0 as of 22 Oct 2026

npm install directus@12.5.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

11.1.2

This is the first release that contains the fix.

npm install directus@11.1.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, review and adjust the overlapping policies to ensure that they do not grant broader access than intended. This may involve consolidating permissions or explicitly defining access for each field to avoid unintended updates.

Conclusion

The CVE-2025-27089 vulnerability in Directus highlights the importance of careful permission management in applications. By updating to the latest versions and reviewing permission policies, developers can protect their applications from unauthorized access to sensitive data.

See every vulnerability recorded for directus →

Share this vulnerability

FAQ

CVE-2025-27089 is a vulnerability in Directus that allows users to update fields they should not have access to due to overlapping permission policies.

If your application uses Directus and has overlapping update policies, unauthorized users may gain access to sensitive fields, potentially compromising user data.

Directus versions prior to 11.1.2 and @directus/api versions prior to 23.1.0 are affected by this vulnerability.

You can use Vulert to monitor and alert for vulnerabilities in your application. Visit Vulert Scanner to check if your application is affected without needing to sign up.

If immediate updates are not possible, review and adjust your permission policies to minimize the risk of unauthorized access until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for directus.

How To Fix

Latest published version: 12.5.0 as of 22 Oct 2026

npm install directus@12.5.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

11.1.2

This is the first release that contains the fix.

npm install directus@11.1.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback