A leaky exhaust system in your vehicle is dangerous because it can cause:

The exhaust system carries exhaust gas out of the vehicle and prevents fumes from entering into the passenger compartment. To prevent carbon monoxide poisoning, keep your exhaust system free of leaks. Replace all defective parts immediately.
DMV Writen Test