Water in trunk after heavy rain

I had the same problem and it was the window seal. I went to the Glass shop and they used butyl seems to have stopped my problem, eventually will need a new rubber seal.Just ask at any good glass shop they will know.