good question. my kids have allergies to multiple tree nuts (and peanuts, but that is another issue) yet shea butter is ok for them.
one is typically not allergic to ALL nuts, but to particular ones.
the only thing you can do is label clearly and truthfully and let the consumer make their own educated decisions.