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.This issue affects prior versions of Actual Sync Server 26.3.0.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
26.2.1
Credits
Juan Patarroyo
References
fluidattacks.com/advisories/fugue
fluidattacks.com/advisories/fugue
github.com/actualbudget/actual
github.com/actualbudget/actual/pull/7067