It may also violate a shingle warranty.
Bathroom echaust duct in attic.
Our photo above shows a long routing of bath vent fan ducts across an attic floor to an exit at the building soffit or eaves and the condensation of moisture in such vent lines.
Dumping bathroom exhaust into an attic or under roof space invites costly mold contamination frost under the roof in freezing climates moisture damage to roof sheathing possibly even plywood delamination or rot roof failures and shorter roof shingle life.
Bathroom exhaust fans perform an important function by removing excess moisture from your home.
That condensation drips from the duct work in the attic space and the exhaust fan.
An insulated duct will help prevent condensation when the warm air from the bathroom meets the cold duct in the attic.
If you re not comfortable working on a ladder call a professional for help.
Your attic is not a temperature controlled environment is never the same temperature as your living space and generally closer to the temperature outside.
These ducts should be insulated or replaced with pre fab insulated ductwork or flexduct and a better installation would have shortened that very long duct as much as.
When bathroom exhaust ducts are not properly insulated and vented the warm moist air traveling through them hits the colder section of the duct in the unconditioned attic space causing condensation on the duct work.
No you cannot vent your bathroom exhaust fan into the attic.