I had a car with an all wheel drive computer in a similar spot in the late 2000s.

I had a small crack in the rubber seal around my sunroof from parking outside in the elements. When it rained, water seeped in, made its way down the a-pillar, pooled under the seat, and fried the computer.

Expensive fix but I was able to drive it to the shop.