Wavefront distortion due to absorption in the substrates and coatings of mirrors in advanced gravitational wave interferometers has the potential to compromise the operation and sensitivity of these interferometers [Opt. Lett. 29, 2635Lett. 29, -2637Lett. 29, (2004]. We report the first direct spatially-resolved measurement, to our knowledge, of such wavefront distortion in a high optical power cavity. The measurement was made using an ultrahigh sensitivity Hartmann wavefront sensor on a dedicated test facility. The sensitivity of the sensor was λ=730, where λ ¼ 800 nm.