Brass pipes can contain lead, which may leach into water, especially in hot water systems, posing health risks.