Need advice on brake issue please!

Same thing can happen with the master cyl if your car sat around for awhile. The brake fluid absorbs water and the bore will rust and pit.