A cable management assembly for attachment to a rail of a firearm may include a main body having a bottom surface; a plurality of grooves formed on the bottom surface; a cable selectively embedded within the plurality of the grooves; wherein one of the plurality of grooves is communicated with the other one of the plurality of grooves.