Nicotine by itself doesn't cause cancer.
Wikipedia does raise some concerning points about nicotine:
> Although nicotine is classified as a non-carcinogenic substance, it can still promote tumor growth and metastasis. It induces several processes that contribute to cancer progression, including cell cycle progression, epithelial-to-mesenchymal transition, migration, invasion, angiogenesis, and evasion of apoptosis.