not by itself generally. it's too salty and acidic, and the supermarket stuff is often full of edta to boot, so bacteria can't get iron, magnesium, or calcium. mayo diluted with boiled potato is another story
also supermarket mayo is labeled as good for months, but salmonella (the usual culprit) can grow in hours. so the sell-by date wouldn't protect you there
also supermarket mayo is labeled as good for months, but salmonella (the usual culprit) can grow in hours. so the sell-by date wouldn't protect you there