Odors are caused by dyes, yarns and shipping for long distances in sealed wrap. Most odors dissipate within a week once the rug is removed from the shipping wrap.

Best ways to remove odors from your new area rug:
https://www.youtube.com/watch?v=w6XL26-ksMM&t=6s