By custom, the Leader of the Opposition becomes a member of the Privy Council. Privy counsellors swear an oath to keep secret the matters committed to them. This allows the government to brief them in confidence, usually on national security, on “privy council terms.”
The Institute for Government cites a meeting in 2003, at which Tony Blair discussed the evidence on Iraqi weapons with Iain Duncan Smith. In 2018, after the Salisbury poisoning, Jeremy Corbyn “was extended a briefing on the attack under privy council rules.”