The invention relates to a cable gland (1) having a flange (3) and a plug-in part (2) suited for an operational connection to the flange (3). The plug-in part (2) comprises a locking sleeve (4), and a fastener (7) for a connector (8), said fastener being operatively connected to said locking sleeve by way of a control slide (10). The control slide (10) is configured such that a rotation of the locking sleeve (4) around the longitudinal axis (x) of the plug-in part (2) results in an axial displacement of the fastener (7) in a longitudinal direction.