Thanks for consulting us.
Yes, you are lucky to discover this tampon however late. If you don't have any systemic sign of infection like fever
or abdominal pain
then chances are less that infection has spread. However, you must visit a Gynecologist, have local examination & a swab test to formally rule this out. You may need treatment depending upon your doctors advise to prevent ascending infection.
Wish you good health.