Cunningham finished with 13 points for the Grizzlies, who used his late outburst to secure their fifth win in six games. O.J. Mayo drained four 3-pointers on his way to 19 points and Mike Conley scored 18 for Memphis.
The Warriors fell for the sixth straight time.
David Lee finished with 22 points and 13 rebounds for Golden State.