Hamstring strain can do it. So can a pinched nerve
in the lower spine. So can piriformis strain in the lower part of the buttock. A tumor in the femur is unlikely, but could cause thigh pain
. Even early shingles
could do it. The only way to know is to get a medical exam.