You can be denied a hazardous materials endorsement for being wanted for certain felonies.

You will be denied a hazardous materials endorsement, or lose an existing one, if you are wanted for or under indictment for certain felonies.
DMV Writen Test