If you describe a person or their actions as unwitting, you mean that the person does something or is involved in something without realizing it.
We're unwitting victims of the system.
It had been an unwitting blunder on the Prime Minister's part.
Synonyms: unknowing, innocent, unsuspecting, unconscious