They're trying to do a cancer vaccine, not treatment for those afflicted with cancer already
The mRNA cancer vaccine they're developing is for people who already have cancer. It's targeted based on the specific tumour the patient has, and basically primes the immune system to attack the cancer cells. They can't even develop the vaccine until the patient has the cancer it's fighting against.
In fact, the body does this regularly. Cells frequently mutate to divide uncontrollably in the body, but are nearly always suppressed by the immune system. It is only when the tumor somehow manage to bypass the immune system or the immune system is sufficiently weakened that cancers can spread.