Elm sawfly larva
Not a caterpillar, as I originally thought! Elm sawflies are hymenopterans, related to bees and wasps, and look pretty intimidating but have no stinger. The larvae are apparently not poisonous per se, but can release volatile chemicals in self-defense.