rear window on convertible top unattached on 1998 Ford Mustang Cobra

The upholstery on my rear window has become unattached all the way around and leaks when it rains. Is there a glue to use to fix it? How would an auto upholstery shop fix it?

An auto upholstery shop will be your best bet. They have the know-how to fix problems like yours.