Corruption in the judiciary undermines the rule of law by eroding public trust and ensuring that justice is not administered fairly or impartially. It can manifest through bribery, manipulation of legal processes, or political interference, leading to a compromised legal system that favors certain individuals or groups over others.