Yes, the nuts in your trail mix can go rancid, making it bad and unsafe to eat. Rancid nuts will have a bad taste or smell and can lead to stomach upsets. This tends to happen roughly six months after the best before date on the trail mix packaging. Be sure to inspect the nuts before eating them to ensure it is safe for you.