The easiest solution is to saw out the caulked joint removing about 1 in.
Leaking pvc pipe in attic.
Normal condensation in a plumbing vent pipe should stay within the pipe.
After heading up to the attic i noticed directly above the leak is a 4 inch portion of pvc pipe that is not wrapped with foam insulation whereas the rest of pipe is insulated.
I have a wide pvc pipe coming down from the roof in the attic.
Of pipe two cuts.
Then either glue in a proper 3 in to 4 in.
As you might expect when the caulk eventually fails a trickle of water will leak through and drip down through the ceiling below.
Pvc coupling or insert a 3 in to 4 in.
Vent pvc leaking in attic.
The most common leaks coming through the ceiling from the attic would be the float operating valve followed by a burst pipe due to the cold or a joint on the pipe work that may of been knocked at some point.
Water leaks occur through roof failure ice dams and water condensation or frost build up inside an attic.
The reason for this is that this particular portion of pvc pipe is resting on a wood support midway through the horizontal span.
It goes horizontal across the depth of the house on the floor of the attic but before it does that there is a branch off to a smaller pipe.
At the very least shingles.
Locate the leak in the pvc pipe and mark with a grease pencil or marker it so you can locate it later.
Any pipe trough to the attic it call ventilation pipe they are design to pressurize the drain system and exit of the bad gases by entry of the air trough to those pipe water in drain pipe will go.
Rainy weather causes the first type of leak to be discovered.
These type of water leaks are easy to find but also easy to fix if your good at a bit of diy plumbing.
The other possibility is that a large amount of air is leaking around the holes in the dw and depending on the house.