Probably a bigger problem for modern cars (including EVs) is how long security updates will be provided for.
A car should be an embedded system, there is arguably no need for any of its core subsystems (ECU, BMS,immobilizer etc) to have a wireless connection to the outside world. If updates are needed, the dealer can handle it physically.
Next up are the wireless unlock systems, if there was a security problem there, anyone could potentially steal your car. And there are issues with these systems, relay attacks and the like.
Then the infotainment systems parse complex data like videos, and need network connections to download video, games etc