Understanding the causes of traffic road accidents is crucial; however, as data collection is conducted by traffic police, accident-related environmental information is not available. To fill this gap, we collect information on the built environment within R = 500 m of the accident site; model the factors influencing accident severity in Shenyang, China, from 2018 to 2020 using the Random Forest algorithm; and use the SHapley Additive exPlanation method to interpret the underlying driving forces. We initially integrate five indicators of the built environment with 18 characteristics, including human and vehicle at-fault characters, infrastructure, time, climate, and land use attributes. Our results show that road type, urban/rural, season, and speed limit in the first 10 factors have a significant positive effect on accident severity; density of commercial-POI in the first 10 factors has a significant negative effect. Factors such as urban/rural and road type, commercial and vehicle type, road type, and season have significant effects on accident severity through an interactive mechanism. These findings provide important information for improving road safety.