Eating rancid nuts is not gonna harm you as in make you deathly ill but still eating rancid nuts could make you sick eventually.
When you eat rancid nuts not only will the rancid nuts taste bad but you will likely also get an upset stomach as well as the rancid nuts can cause irritation to the lining of your stomach and intestines.
And you may also experience, bloating, diarrhea, vomiting etc.
So I would not recommend eating any rancid nuts.
I say that because I have ate rancid nuts before and it made me sick with a stomach ache, diarrhea and vomiting.
I felt really bad although I was okay afterwards but it still was not worth it.