FWIW "varnish" is a broad term that covers a lot of different clear finish products that can be oil based like polyurethane, or alcohol based such as shellac and lots in between.

My guess would be you have polyurethane, which is sometimes marketed/labelled etc as polyurethane varnish.