directus
Affected
- introduced
9.12.0, fixed11.5.0(semver)
Fixed versions
11.5.0
Fix
- Fixed version
11.5.0npm install [email protected]
Advisory
Also known as: CVE-2025-30353
Directus's webhook trigger flows can leak sensitive data
Describe the Bug
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.
To Reproduce
Steps to Reproduce:
$env)$accountabilityExpected 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:
FLOWS_ENV_ALLOW_LIST)role, user, etc.)current_payments, $last), which might contain private details.High Basis: The source's own band: HIGH
9.12.0, fixed 11.5.0 (semver)11.5.0
11.5.0npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0