There is no doubt that intelligent highways would be a massive target for terrorist and cyber attacks. However, one thing in our favour is the fact there is so little technology already in place, since they won't be burdened with decades' worth of insecure legacy systems: at least they'll be able to start out building infrastructure in full knowledge that it better be secure.
You have your own trusted sources of information, and you have your secondary sources of information, which you apply trust levels to. Your own trusted sources of information are your own senses, your sight, hearing, feeling (touch), smell, etc. You may have something communicated to you about your condition or environment through these senses, but it's silly to take that at face value without confirming with your own senses. If your friend next to you that you trust tells you that you're about to walk into a wall, you look ahead. If you can't see a wall, you might slow and exercise caution until you figure out why you were relayed that information, but unless you can completely stop without problem, you don't do that without cause.
I think it's a mistake to think of cards in the future communicating as a swarm. They need to be able to function independently, and also to take in extra information from the group when the group is available, and make decisions on that. That's less swarm behavior than social behavior, so we should consider groups of cars on the road a social groups, and the same information dynamics exhibited in those groups apply.
1: http://gizmodo.com/how-a-hacker-could-hijack-an-airplane-fro...
2: https://www.wired.com/2015/07/hackers-remotely-kill-jeep-hig...
US voting machines didn't have to deal with legacy technology and still turned pretty bad from an infosec POV.
The lesson we do need to learn is future-proofing: whatever infrastructure we install on the millions of miles of public highway will need to be serviceable for decades.