Displaying high-affinity ligands on adeno-associated viral vectors enables tumor cell-specific and safe gene transfer.