Waterlogged Subaru hatchback door

My 2001 Subaru Outback wagon accumulates water in the tail light areas after a rain. Can’t see any obvious rubber molding issues that might create a pathway. When I open the wagon rear door, water will pour out of the access doors to the tail lights. I can see the water line in the tail lights! How can I identify and resolve the problem?