Loading advisory.
Loading advisory.
Directus's webhook trigger flows can leak sensitive data
In Directus, when a Flow with the "_Webhook_" trigger and the "_Data of Last Operation_" response body encounters a ValidationError thrown by a failed condition operation, the API response includes sensitive data.
Published 2025-03-26 17:26 UTC · Modified 2026-09-10 03:49 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| directus | npm | >= 9.12.0, < 11.5.0 | 11.5.0 | npm install directus@11.5.0 |
In Directus, when a Flow with the "Webhook" trigger and the "Data of Last Operation" response body encounters a ValidationError thrown by a failed condition operation, the API response includes sensitive data. This includes environmental variables, sensitive API keys, user accountability information, and operational data.
This issue poses a significant security risk, as any unintended exposure of this data could lead to potential misuse.
Steps to Reproduce:
Create a Flow in Directus with:
Trigger: Webhook
Response Body: Data of Last Operation
Add a condition that is likely to fail.
Trigger the Flow with any input data that will fail the condition.
Observe the API response, which includes sensitive information like:
Environmental variables ($env)
Authorization headers
User details under $accountability
Previous operational data.
Expected Behavior: In the event of a ValidationError, the API response should only contain relevant error messages and details, avoiding the exposure of sensitive data.
Actual Behavior: The API response includes sensitive information such as:
Environment keys (FLOWS_ENV_ALLOW_LIST)
User accountability (role, user, etc.)
Operational logs (current_payments, $last), which might contain private details.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.005 on 2026-11-24 to 0.007 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.005 | first score | v2026.06.15 |
| 2026-11-26 | 0.007 | 0.005 | v2026.06.15 |