I’ve never seen expiration dates on shampoo. But they will eventually go bad, rank, odor wise, after a few years. Lots of hair products can go bad, but it’ll take some time to get there.
Being in the salon business for almost 4 decades, I have some first hand experience.
Bottom line, use it, it’s not gonna kill ya…