Just a note from a mother who deals with allergies in the family:
Peanuts are technically a legume (like soybeans). People who are allergic to nuts can often eat peanuts without a problem. Conversely, people who are allergic to peanuts can often eat nuts without a problem. You will many times see warnings like: "peanuts processed on equipment used to process tree nuts." Then you avoid it altogether.