Ad Hoc network has the characteristics of no center, no infrastructure and so on, and its security is facing severe challenges. In this paper, we propose a fuzzy Petri-net model to assess the security risk of the Ad Hoc network. By introducing the strategy of transition threshold and certainty factor, the index weight and evaluation index system can be adjusted automatically and flexibly, improving the accuracy and adaptability of the evaluation model. To improve calculation speed, an inference algorithm of fuzzy rule is put forward by making full use of the characteristics of Petri net and matrix parallel operation. Finally, we carried out the experiment of network attacks, and the experimental results show that the model is feasible and effective.