SugarCRM prior to 8.0.4 and 9.x prior to 9.0.2 allows directory traversal in the attachment function by a Regular user.
sugarcrm sugarcrm