Tunnel-boring machines (TBMs) are widely used in urban underground tunnel construction due to their fast and efficient features. However, shield-tunnel construction faces increasingly complex geological environments and may encounter geological hazards such as faults, fracture zones, water surges, and collapses, which can cause significant property damage and casualties. Existing geophysical methods are subject to many limitations in the shield-tunnel environment, where the detection space is extremely small, and a variety of advanced detection methods are unable to meet the required detection requirements. Therefore, it is crucial to accurately detect the geological conditions in front of the tunnel face in real time during the tunnel boring process of TBM tunnels. In this paper, a 3D-ERT advanced detection method using source-position electrode excitation is proposed. First, a source-position electrode array integrated into the TBM cutterhead is designed for the shield-tunnel construction environment, which provides data security for the inverse imaging of the anomalous bodies. Secondly, a 3D finite element tunnel model containing high- and low-resistance anomalous bodies is established, and the GREIT reconstruction algorithm is utilized to reconstruct 3D images of the anomalous body in front of the tunnel face. Finally, a physical simulation experiment platform is built, and the effectiveness of the method is verified by laboratory physical modeling experiments with two different anomalous bodies. The results show that the position and shape of the anomalous body in front of the tunnel face can be well reconstructed, and the method provides a new idea for the continuous detection of shield construction tunnels with boring.