It has been reported that the 46-year-old coach will be axed if the Rossoneri do not manage to hold onto the title he claimed in what was his first season at San Siro
The 46-year-old's future at Rossoneri has been the subject of much debate in recent weeks and the former Cagliari boss believes that the speculation has destabilised his side's bid to retain their Serie A title.
“The thing that disappoints me is that the media have ganged up on me and the team with talk of contracts at a key moment of the campaign," Allegri told Sky Sport Italia.
“But I have an excellent rapport with president Silvio Berlusconi and [CEO] Adriano Galliani.
"In two years we have won the Scudetto and a Super Cup, while we are still in the race for the title now and were unlucky to be eliminated by Barcelona from Europe."
Allegri was speaking after his side's 4-1 victory over Siena, a game in which both Antonio Cassano and Gennaro Gattuso shone.
The former only returned to action earlier this month after spending just over five months recovering from an emergency heart procedure last November, while the latter was out for even longer after being beset by ocular problems.
Both men started against Siena, though, and played key roles in a win which keeps up the pressure on league leaders Juventus, with Cassano really catching the eye with a goal and two assists.
Consequently, Allegri could not help but wonder about what might have been had both men been available to him during a season in which he has seen several members of his squad sidelined by injury for lengthy periods of time.
“It was important to win today so we could stay close to Juve," the former Cagliari boss admitted. "Now we have to hope they drop some points in these final three games, while we’d have to win them all.
"In any case, if we continue like this then we can finish the season without regrets.
"The only problem was that Cassano and Gennaro Gattuso suffered physical problems that could not be predicted by anyone.
“We paid a heavy price for all the injuries, as don’t forget Mario Yepes and Mathieu Flamini were also out for months at a time.
"The shortage didn’t allow me to rest some players who have now reached the end of the campaign totally exhausted.
“It’s also a pity that with the timing of the Champions League we paid for the strains of facing Barcelona by dropping points to Fiorentina and Bologna.
"We gave away too many goals and a side like Milan cannot do that.”
Milan, who are three points behind the Bianconeri with three rounds remaining, return to San Siro on Wednesday to take on Atalanta.