Description
Actual Sync Server allows authenticated users to upload files through POST /sync/upload-user-file. In versions prior to 26.3.0, improper validation of the user-controlled x-actual-file-id header means that traversal segments (../) can escape the intended directory and write files outside userFiles.
Mitigations
The vulnerability can be mitigated in prior versions by running the sync server in a filesystem sandbox.
Description
Actual Sync Server allows authenticated users to upload files through
POST /sync/upload-user-file. In versions prior to 26.3.0, improper validation of the user-controlledx-actual-file-idheader means that traversal segments (../) can escape the intended directory and write files outsideuserFiles.Mitigations
The vulnerability can be mitigated in prior versions by running the sync server in a filesystem sandbox.