The most common and most likely answer to this crossword clue is the 5 letter word JUDAS
I've seen this crossword clue in The Times
J
U
D
A
S
Buddy explains!

The straight part
We know that "Traitor" is the straight/definition part of the clue. The straight part is often a synonym or definition, in this case traitor = judas.The cryptic/wordplay part
In cryptic crossword there's often an wordplay/cryptic part as well.This part involves a more complex hint, such as an anagram, homophone, hidden word, etc.
Sadly, We don't have an explanation for this specific crossword clue yet.
What does JUDAS mean?
JUDAS noun- A traitor; a person not to be trusted.
- A small hole in a door through which a person can spy without being seen from the other side, used especially in prisons; a Judas-hole.