There was a recent supreme court case where they discussed this exact practice:
https://www.oyez.org/cases/2022/21-1397
From listening to the oral arguments, the court didn't seem to think that just CC'ing a lawyer automatically made the full communication privileged.