As Rashi wrote in his commentary to the Gemara, tevilah of vessels is a gezerat hakatuv, and from this it is clear that it is from the Torah, and many Rishonim agreed. Targum Yonatan likewise translated the verse as immersion in forty seah. Glass vessels, Duralex and Pyrex, require tevilah midivrei chachamim, as Maran found explicitly in Sefer HaEshkol.