Carbon fiber can cause galvanic corrosion on aluminum.

But the reaction is slow, and the carbon fiber would cause the aluminum to corrode, and not vice versa. So it should be safe to ride and not damage your frame.

This question covers it a little more in depth -- https://bicycles.stackexchange.com/questions/4508/metal-seat-post-with-carbon-fiber-frame?rq=1