In this paper, we study light rays in a Kazakov–Solodukhin black hole. To this end, we use the optical geometry of the Kazakov–Solodukhin black hole within the Gauss–Bonnet theorem. We first show the effect of the deformation parameter a on the Gaussian optical curvature, and then, we use the modern method popularized by Gibbons and Werner to calculate the weak deflection angle of light. Our calculations of deflection angle show how gravitational lensing is affected by the deformation parameter a. Moreover, we demonstrate the effect of a plasma medium on weak gravitational lensing by the Kazakov–Solodukhin black hole. We discuss that the increasing the deformation parameter a will increase the weak deflection angle of the black hole. Our analysis also uncloak how one may find a observational evidence for a deformation parameter on the deflection angle. In addition, we studied the rigorous bounds of the Kazakov–Solodukhin black hole for the grey body factor and also studied the graphical behaviour of the bounds by fixing l= 0 and M= 1 and observed that increasing the deformation parameter a will decrease the rigorous bound Tb of the black hole.