Dreamworks The Epic Tales of Captain Underpants
Captain Underpants and the Sickening Fumes of Smartsy Fartsy
S1 E12:
To steal Mr. Krupp's rule book from a tightly locked safe, the boys cook up a super-intelligent gas cloud who winds up turning against them.