Metabolic reprogramming by oncogenic signals promotes cancer initiation and progression. The oncogene KRAS and tumor suppressor STK11, which encodes the kinase LKB1, regulate metabolism and are frequently mutated in non-small-cell lung cancer(NSCLC). Concurrent occurrence of oncogenic KRAS and loss of LKB1 (KL) in cells specifies aggressive oncological behavior. Here we show that human KL cells and tumors share metabolic signatures of perturbed nitrogen handling. KL cells express the urea cycle enzyme carbamoyl phosphate synthetase-1 (CPS1), which produces carbamoyl phosphate in the mitochondria from ammonia and bicarbonate, initiating nitrogen disposal. Transcription of CPS1 is suppressed by LKB1 through AMPK, and CPS1 expression correlates inversely with LKB1 in human NSCLC. Silencing CPS1 in KL cells induces cell death and reduces tumor growth. Notably, cell death results from pyrimidine depletion rather than ammonia toxicity, as CPS1 enables an unconventional pathway of nitrogen flow from ammonia into pyrimidines. CPS1 loss reduces the pyrimidine to purine ratio, compromises S-phase progression and induces DNA-polymerase stalling and DNA damage. Exogenous pyrimidines reverse DNA damage and rescue growth. The data indicate that the KL oncological genotype imposes a metabolic vulnerability related to a dependence on a cross-compartmental pathway of pyrimidine metabolism in an aggressive subset of NSCLC.