Those are Silverfish, aka Fishmoths or Bristletails. They're insects not worms (note the legs).
They're usually nocturnal unless you find & disturb them in their hiding places.
Their favorite foods are usually starchy cellulose based things like paper & book bindings, carpets, clothes (more likely cotton & wool than artificial fabrics), etc.
Although they are annoying in that they can contaminate food which they manage to get into (for example dried pasta, rice, etc) and cause damage to books, clothing, etc - they do not transmit any disease (at least none which we humans can get).
Wikipedia link