We prove that the N-solitons, including breathers and multi-hump solitons, of the coupled nonlinear Schrödinger (CNLS) equations are nonlinearly stable in the Sobolev space HN. Moreover, (N1,N2)-solitons of the coupled modified Korteweg--de Vries (CmKdV) equations are shown to be nonlinearly stable in the Sobolev space H2N1+N2. The number of negative eigenvalues of the second variation of the Lyapunov functional is N for N-solitons of the CNLS equations, and N1+⌊(N2+1)/2⌋ for (N1,N2)-solitons of the CmKdV equations, which is obtained by exploiting integrable properties. The stability of solitons for the classical NLS and mKdV equations also follows from the same method. In addition, we show that solutions to the linearized spectral problem of the mixed flow equation can be constructed from solutions of the stationary zero curvature equations in a large class of Lie algebras.