Overall, these findings indicate that KANK2 may impact tumor biology across various cancers by modulating the immune microenvironment and holds potential as a target for immunotherapy. Here, KANK2 is linked to cancer.