This paper proposes an active collision avoidance controller based on a hierarchical model predictive control framework for distributed electric drive vehicles (4IDEV) considering extreme conditions. In this framework, a two-layer strategy is developed. The upper layer is the path replanning controller based on nonlinear MPC (nMPC), from which a collision-free path including the optimal lateral displacement and yaw angle can be obtained in real-time while encountering the obstacles. The lower layer is the path tracking controller based on hybrid MPC (hMPC), and the coordinated control inputs (yaw moment and the front wheel steering angle) are solved by a Mixed-Integer Quadratic Programming (MIQP) with the piecewise affine (PWA) tire model considering tire saturation region. Moreover, to improve the lateral stability when tracking, the stable zone of lateral stability in the high-risk condition is analyzed based on the phase portrait method, by which the constraints of vehicle states and inputs are derived. The verification is carried out on the MATLAB and CarSim co-simulation platform, and the simulation results show that the proposed active collision avoidance controller can track the reference path accurately and prevent vehicle instability in extreme scenarios.