You are creating a galvanic cell so if it gets wet you will definitely get corrosion. Luckily the aluminum parts are the ones that are more anodic and corrode so you wouldn't be ruining the frame.
If the lubricant isn't conductive it would at least help.