After my fun experience replacing my gas pedal and turn signal assembly, I noticed some standing water in my battery compartment.

Typical E46 battery location

Turns out my passenger tail light was missing a flange nut, and the lens separated from the light housing. Hopefully fixing the lens and bolting it back in place correctly will keep out any water, otherwise it’ll be time to order new seals for the lights.