Tunnels are of significant importance in the sustainable development of global urban areas, particularly in metropolitan areas. It is of the utmost importance to evaluate the seismic performance of tunnels across a wide spectrum of earthquake intensities. In order to address this, our study presents a framework for the assessment of seismic risk in tunnels. This study employs the city of Shanghai’s urban metro tunnels as case studies. The nominal values of seismic risk for the three main damage states—minor, moderate, and major—were calculated. Furthermore, the influence of utilizing disparate fragility functions on expected seismic risk assessments was investigated. In this framework, the probability density functions of the different fragility curve models are employed to treat the probability values associated with them as random variables. This approach aims to facilitate the propagation of IMV in seismic risk assessments. The results demonstrate that the Bayesian framework efficiently incorporates the full range of input model variability into risk estimation. The findings of this study offer a foundation for decision-making processes, seismic risk assessments, and the resilience management of urban infrastructure.