Former Barack Obama aide David Axelrod is blasting Hillary Clinton’s “penchant for privacy” — in the wake of a “medical episode” that has left many wondering about the health of the Democratic presidential candidate.

“Antibiotics can take care of pneumonia,” Axelrod said Monday on Twitter, referring to Clinton’s diagnosis of pneumonia Friday. “What’s the cure for an unhealthy penchant for privacy that repeatedly creates unnecessary problems?”

Clinton failed to disclose her diagnosis — and it only became public after she had to leave a 9/11 memorial event early and appeared to collapse as she was moved into her Secret Service vehicle.

The comment from Axelrod, who was once President Obama’s top political adviser, forced the Clinton campaign to respond.

“We could have done better yesterday, but it is a fact that public knows more about HRC than any nominee in history,” said Clinton campaign communications director Jennifer Palmieri.

A longtime Clinton aide rebuked Axelrod for daring to speak out against the presidential candidate.

“I’m old enough to remember certain WH advisers decrying the cable commentariat peanut gallery,” said Neera Tanden, who is currently president of the Center for American Progress.