CVE-2025-30353: Directus Webhook Trigger Flaw Exposes Sensitive Data

directus Updated 02 Oct 2025

Summary

26/03/2025
Yes i
High
8.6

CVE-2025-30353: Directus's webhook trigger flows can leak sensitive data. Affects directus versions >= 9.12.0, < 11.5.0. Fixed in 11.5.0. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Directus is an open-source headless CMS that provides a powerful API for managing content. It allows users to create custom data structures and manage their content through a user-friendly interface. The platform supports various triggers and flows, enabling automated responses to events. However, a vulnerability exists in the webhook trigger functionality, which can inadvertently expose sensitive data when certain conditions fail.

Vulnerability Detail

In Directus, when a Flow with the 'Webhook' trigger and the 'Data of Last Operation' response body encounters a ValidationError due to a failed condition operation, the API response may leak sensitive information. This includes environmental variables, sensitive API keys, user accountability information, and operational data. Such exposure poses a significant security risk, as it could lead to unauthorized access or misuse of sensitive information.

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.5.0

This is the first release that contains the fix.

npm install directus@11.5.0

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

Workaround

As a temporary workaround, avoid using the 'Data of Last Operation' response body in Flows that may encounter ValidationErrors. Instead, consider using a more controlled response that does not expose sensitive information.

Conclusion

The vulnerability CVE-2025-30353 in Directus poses a significant risk by potentially exposing sensitive data through webhook triggers. It is crucial to update to the latest version to mitigate this risk and ensure the security of your application.

See every vulnerability recorded for directus →

Share this vulnerability

FAQ

CVE-2025-30353 is a vulnerability in Directus that allows sensitive data to be exposed through webhook triggers when certain conditions fail.

If your Directus installation uses webhook triggers with the 'Data of Last Operation' response, it may expose sensitive information, including environmental variables and user details, in the event of a ValidationError.

If an immediate update is not possible, avoid using the vulnerable response body in your Flows as a temporary workaround to minimize the risk of data exposure.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The CVSS score of this vulnerability is 8.6, indicating a high severity level.

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.5.0

This is the first release that contains the fix.

npm install directus@11.5.0

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