How far back does an oral drug test detect cannabis?

Depends. Since thc (the active ingredient in marijuana) binds to fat, it depends on you much fat you have, how much you use, & how physically active you are. It would not be unusual to test positive for a month.