The pumpkin lantern is obtained by accepting the revenge quest offered by a group of native ghosts. The goal of the mission is to kill a group of giant spiders that lurk in a cave.
It stacks up to 20 units. It can be used to enter into dark caves without consuming torches. Added as a Halloween update (alpha 20), this may be a secret item that will be removed with the next patch.