CNN has severed ties with the Democratic strategist Donna Brazile, after hacked emails from WikiLeaks showed that she shared questions for CNN-sponsored candidate events in advance with friends on Hillary Clinton’s campaign.

Ms. Brazile, a veteran political analyst for the network, was already on leave from CNN since becoming interim chairwoman of the Democratic National Committee. On Monday, CNN said it had accepted her formal resignation on Oct. 14.

“We are completely uncomfortable with what we have learned about her interactions with the Clinton campaign while she was a CNN contributor,” Lauren Pratapas, a network spokeswoman, said in a statement.

“CNN never gave Brazile access to any questions, prep material, attendee list, background information or meetings in advance of a town hall or debate,” Ms. Pratapas wrote.