A pulse of light carries energy and momentum, and it is deflected by the gravitational field of a massive body. Then, according to Newton's 'actio equals reactio', it is also a source of a gravitational field of its own.
http://iopscience.iop.org/article/10.1088/1367-2630/18/2/023009