The site linked to below has a fairly good summary of the risks.
https://www.experian.com/blogs/ask-experian/should-i-do-a-cash-out-refinance-to-pay-off-debt/