First, the good news: As seen in the table in strider6's link, Al 5052 is so close galvanically to Al 6061-T6 that, depending on its temper (thermomechanical history), it can be higher or lower in galvanic potential.
Now, the bad news: In many 5000-series alloys, particularly those above 2.5% Mg, poor temperature control during initial processing or any exposure to high temperatures (e.g., storage in summer sunlight), segregation of Mg to the grain boundaries occurs. This Mg (or Mg2Al3 given enough time) is anodic to the [α]-Al solid solution matrix. So, intense localized galvanic corrosion can occurs. Commonly called 'cauliflower' as it resembles white florets.
A good idea to anodize or else conversion coat + paint.