Before revision:  The coefficients can be random and then the value function is described by a degenerate backward stochastic partial differential equation (BSPDE) with singular terminal condition.
After revision:  The coefficients can be random in which case the value function is described by a degenerate backward stochastic partial differential equation (BSPDE) with singular terminal condition.