Not to be a worry wart, but cherry pits contain cyanide. Not sure about pomegranate seeds and even if they do I'm still alive so at least in low concentrations no worries.
I don't know if the cyanide would leach out into the alcohol, but it seems a safe bet some amount would.
This has been covered. and while these things do contain cyanide compounds they are not in a toxic form. Cherry pits have been used as a spice for many centuries as have pomegranite seeds. Not something that one should worry about.
Five pounds of cherries contains far more pits than whatever amount you're using of whatever spice you're referring to. I wouldn't do it. Feel free to do so, if you are so inclined.
sure way more, the spice is mahleb or makleb or something like that by the way, but the spice is the toasted ground pits and the cherry pits in the beer are hardly consumed at all.
Let's also remember that traditional kriek is made by performing a secondary fermentation a-top HUGE amounts of whole fruit. The beer is left on the fruit for a very long time and nothing of the flesh is left when it's done. I have not seen any studies that quantify how much cyanic compounds are present in a traditional kriek but it would be interesting.
However what it comes down to is that the cyanide compounds found in cherry pits and other stone fruit stones are actually an important nutrient that we could not live well without. This doesn't mean that there is no danger in consuming it, just that in small amounts it is actually beneficial.