The direct transition to overlimiting current bypassing the stage of limiting currents is considered for imperfect membranes. Instability of the quiescent steady-state one-dimensional solution, which is the result of a balance of diffusion and electromigration, is investigated on the basis of the full Nernst-Planck-Poisson-Stokes system and a simplified quasielectroneutral system. A three-layer geometry, electrolyte-porous membrane-electrolyte, is considered. The usual assumption of a constant electrochemical potential along the membrane surface is removed from consideration. The effect of bulk and surface effects on the instability and transition to the overlimiting currents is evaluated for a different membrane selectivity. It becomes clear that for sufficiently small fixed charge concentration (large ion concentration in the electrolyte), the monotonic instability is replaced by an oscillatory one. The dependence of instability on the membrane porosity is found to be weak.