File downloads via HTTP Range requests bypass the afterFind(Parse.File) trigger and its validators on storage adapters that support streaming (e.g. the default GridFS adapter). This allows access to files that should be protected by afterFind trigger authorization logic or built-in validators such as requireUser.
The streaming file download path now executes the afterFind(Parse.File) trigger before sending any data. Authentication is resolved from the session token header so that trigger validators can distinguish authenticated from unauthenticated requests.
Use beforeFind(Parse.File) instead of afterFind(Parse.File) for file access authorization. The beforeFind trigger runs on all download paths including streaming.
{
"github_reviewed_at": "2026-04-01T23:09:14Z",
"nvd_published_at": "2026-03-31T20:16:29Z",
"cwe_ids": [
"CWE-285"
],
"severity": "HIGH",
"github_reviewed": true
}