The primary antagonist is Emperor Zurg (the in-universe villain of Buzz Lightyear's world).
The human obstacle is Al McWhiggin, a greedy toy collector who steals Woody. While not a "supervillain," he drives the main rescue plot.