KATE Forbes and John Swinney have reportedly held secret talks about cutting a deal amid both of them being tipped to replace Humza Yousaf as SNP leader.

The Scottish Sun has reported the pair met face-to-face amid a plan by senior SNP politicians and officials to install Swinney as party leader, according to sources.

An insider told the paper that during the discussions, former finance secretary Forbes did “not rule out” a deal where she takes a top job in a Swinney-led cabinet.

It comes after The National reported an SNP insider had called for "a deal to be struck" amid the speculation Forbes and Swinney could face-off for the leadership. 

The  insider said that "a deal struck between the pair" would do the party “a world of good”.

The talks are said to have taken place at the Scottish Parliament on Tuesday, but no agreement was reached.

The National: Neil Cowan writes that Holyrood can't lose focus on the Human Rights Bill

READ MORE: Scottish Parliament calls out 'massively' wrong story on Humza Yousaf

An insider close to the discussion said both camps were keen not to be seen to be briefing against each other, but confirmed the pair did talk about whether a deal could be done.

The source said: “A deal has not been ruled out.”

Neither Forbes nor Swinney has officially declared their intention to stand for SNP leader.

Numerous figures within the SNP have already backed Swinney to become the next first minister, including party leader at Westminster Stephen Flynn, his predecessor Ian Blackford, and several serving ministers such as Jenny Gilruth and Mairi McAllan.

However, the “SNP establishment” has been accused of lining up behind Swinney in order to thwart a leadership bid from Forbes by her allies.