Sin is a personal act. Moreover, we have a responsibility for the sins committed by others when we cooperate in them:
- by participating directly and voluntarily in them;
- by ordering, advising, praising, or approving them;
- by not disclosing or not hindering them when we have an obligation to do so;
- by protecting evil-doers.
Source: Catechism of the Catholic Church (Vatican.va)