That reminds me of my parents who most often use peanut oil for cooking. I was eating food cooked in peanut oil every day. I was astounded when I heard in elementary school that people could be allergic to peanuts.
Both will eventually go rancid at room temperature , though highly refined oil has a longer shelf life (both sealed and, even moreso, after the seal is broken.)