Not the original poster, but Merriam Webster gives a sense 2b to dubious:
questionable or suspect as to true nature or quality the practice is of dubious legality
questionable or suspect as to true nature or quality the practice is of dubious legality