Among the pathogens that cause infectious diarrhea in China, Shigella is the most prominent. Shigellosis affects both adults and children, particularly those in developing nations, with nearly 190 million annual cases and a third resulting in fatalities. The recently emerged CRISPR/Cas system has also been increasingly applied for the detection of different biological targets. The lateral flow assay (LFA) has the advantages of short detection time, simple operation, high sensitivity, and low cost, and it provides an ideal platform for on-site detection. In this study, a recombinase polymerase amplification-CRISPR/Cas12a-LFA test for Shigella flexneri was constructed. The established method had good specificity and sensitivity, and the qualitative accuracy of 32 tested strains reached 100%. The detection limit of genomic DNA reached 8.3 copies/μL. With the advantages of high accuracy and portability, this diagnostic apparatus represents a novel method of identification and detection of Shigella flexneri, particularly in settings that lack complex laboratory infrastructure.