Hmm, these are tiny connections that can't be fixed easily and reliably in my opinion. While the cable itself appears to be custom, the connection pattern looks familiar.
I would try to find an of-the-shelf cable with that exact connection pattern. Chances are that the traces of a an of-the-shelf cable won't fit the requirements, e. g. for transmission line impedance or current capacity. But I would give it a try.
The connection pattern looks like one form Molex I recently worked with. So maybe an of-the-shelf cable like this could work: https://www.molex.com/en-us/products/part-detail/150150251
However, you need to double check the pin count and if "same sided" contacts will work for you.