Injecting hydrogen into natural gas pipelines is an economical and efficient method of hydrogen transportation. However, the addition of hydrogen leads to significant hydrogen corrosion and embrittlement in the pipelines, especially in harsh and concealed underground conditions, where leak accidents are frequent and difficult to detect. This Article uses Le Chatelier's Principle to determine the hazardous range of hydrogen-blended natural gas (HBNG) by employing numerical simulation, it examines the gas leakage and diffusion characteristics before and after hydrogen injection as well as under different hydrogen blending ratio (HBR). Additionally, considering the density of the mixed gas, a prediction model for the diffusion hazard range of hydrogen-mixed natural gas is established based on multivariate regression theory. The results show that after a leakage occurs in HBNG the diffusion range in soil is wider compared to methane, with higher corresponding pressure and velocity values. Moreover, as the HBR increases, the farthest danger range (FDR) of the HBNG also increases. When the leakage of the buried HBNG pipeline occurs for 1 min, the difference in FDR between HBR 25% and HBR 5% is 0.005 m. After 30 min, this difference increases to 0.019 m, indicating that with longer leakage duration, the potential explosion risk resulting from increased HBR becomes greater. Factors such as pipeline pressure increase, larger leak hole size, and decreased burial depth all contribute to an increase in FDR, with pipeline pressure change having the greatest impact and burial depth change having the smallest impact. The maximum error of the predicted model for the diffusion hazard range of hydrogen-mixed natural gas is 9.385%, and the average error is 2.376%, demonstrating the accuracy of the prediction results. This study provides guidance for monitoring underground hydrogen-blended natural gas pipeline leaks, offers a basis for determining the repair range of pipelines, and ensures the safe transportation of hydrogen-mixed natural gas pipelines.