Parents have slammed the state of a “dangerous” footpath leading to a school where children have to wear wellies to avoid being covered in mud.