This is a major abuse of cheating. That is why whenever a work is to be developed in a team, a written agreement between co-authors is needed, even if there the team has a co-ordinator.
لايمكن اغفال مشاركة اي شخص قام ولو بقدر بسيط بالمشاركة في المصنف الجماعي، الا ان تحديد نسبة المشاركة أو تحديد شرط تحقيق نسبة نن المشاركة كي يستطيع الانظمام الى
مجموعة المؤلفين الجماعيين قد يكون من الحلول، فكما يتفق الجماعة علي العئد المالي ونسبته يستطيع ايضا الجماعة الاتفاق على شروط. المشاركة وفي الاخير يبقى العقد شريعة المتعاقدين
Of course, the article could be withdrawn in the case of copyright claims. However, the problem is when we only have our words as evidence. If you could point to evidence of the work you have done - manuscripts, materials, archive files, correspondence with a signed author - that might help.
As for the punishment, apart from the criticism from the community, it is simply plagiarism. How it is regulated is something you have to check in the law of your country.