Parser Server's streaming file download bypasses afterFind file trigger authorization
Package
Affected versions
>= 9.0.0, < 9.7.1-alpha.1
< 8.6.71
Patched versions
9.7.1-alpha.1
8.6.71
Description
Published by the National Vulnerability Database
Mar 31, 2026
Published to the GitHub Advisory Database
Apr 1, 2026
Reviewed
Apr 1, 2026
Impact
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 byafterFindtrigger authorization logic or built-in validators such asrequireUser.Patches
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.Workarounds
Use
beforeFind(Parse.File)instead ofafterFind(Parse.File)for file access authorization. ThebeforeFindtrigger runs on all download paths including streaming.References