Palladium-catalyzed highly selective ortho-halogenation (I, Br, Cl) of arylnitriles via sp2 C-H bond activation using cyano as directing group.