The TSA indicates on their website that you can bring medical marijuana in carry-ons and checked bags under special instructions.
However, the special instructions are not specified. They do warn that cannabis containing more than 0.3% THC is federally illegal.
Though TSA agents are not actively searching for marijuana, they must remit the matter to authorities.