Inhibition of CDK12 renders cancer cells dependent on the oncogenic NF-κB pathway. Here, CDK12 is linked to cancer.