The assessment of slope stability plays a critical role in the prevention and management of slope disasters. Evaluating the condition and stability of hazardous rock masses is essential for predicting potential collapses and assessing treatment effectiveness. However, conventional measurement techniques are inadequate in high slope areas, which lack sufficient spatial data to support subsequent calculations and analyses. Therefore, this paper presents a method for the early identification and evaluation of unstable rock masses in high slopes using Unmanned Aerial Vehicle (UAV) digital photogrammetry and geographic information technology. By considering nine evaluation indices including geology, topography, and induced conditions within the study area, weights for each index are determined through an analytic hierarchy process. A semi-automatic approach is then utilized to extract and analyze rock mass stability. The reliability of this early identification method is confirmed by applying the limit equilibrium principle. The findings reveal that 17.6% of dangerous rock masses in the study area fall into the unstable category (W4, W6, W10). This method effectively assesses slope rock mass stability while providing technical support for disaster monitoring systems, warning mechanisms, and railway infrastructure safety defense capability to ensure safe mountain railway operations.