Is an unenclosed cable modem circuit board a fire hazard?
70 c is not enough to spontaneously ignite paper let alone wood. The carpet depends on the material. But there is no reason you have the heatsink touching anything. Use stand offs.

That said, of you do catch your house on fire, I'm sure your insurance would rule that cable modem as voiding your insurance.