A popular snack sold across the country has been recalled after an undeclared allergen was discovered.