KARACHI, Pakistan—Suspected Pakistani Taliban killed a school principal and injured several students in the country's biggest city, Karachi, in an attack that highlighted the militants' spreading reach.

The gun and grenade assault on Saturday targeted the Nation, a small private school that taught children as young as 5 in Ittehad Town, an area of western Karachi that recently came under Taliban control.

Although...