OTTAWA - The federal government posted a deficit of $26.4 billion for the first eight months of its 2025-26 fiscal year.