Indeed, central banks are by definition the only agents which are not affected by liquidity risk and which generally continue to be considered free from default-risk during a financial crisis.
For these reasons, and as they fulfil a public mandate, central banks act as lenders of last resort in financial crises, providing liquidity to the banking system in their  6  BIS central bankers’ speeches  jurisdiction.