In older versions of Sendmail, an attacker could use a pipe character to execute root commands.
Local users can start Sendmail in daemon mode and gain root privileges.
Buffer overflow and denial of service in Sendmail 8.7.5 and earlier through GECOS field gives root access to local users.
Sendmail WIZ command enabled, allowing root access.