The GMX V1 exploit was executed through a logic flaw in the V1 leverage mechanism that allowed minting of GLP tokens without sufficient collateral.