"I wish for Justice Shetty's speedy recovery", Singh tweeted. State Home Minister Ramalinga Reddy confirmed the incident and said that the Lokayukta is out of danger.
The assailant had come to meet the Lokayukta to discuss his case when he attacked Justice Shetty.
Meanwhile, the BJP Karnataka posted on its official Twitter handle, "Attack on Lokayukta is highly condemnable".
The Karnataka Lokayukta was stabbed multiple times on Wednesday and left bleeding profusely by a man, who had gone to his office with a complaint, only to be told that the case was shut. First Congress MLA son attacks, now judge being stabbed in his office.
The log also revealed the attacker had entered the premises on the pretext of meeting the assistant registrar of Enquiries 5 around 12:45 PM.
According to the Police, the accused Tejas was summoned by the Lokayukta for questioning. The accused gained access to the Lokayukta office in the guise of an advocate intending to lodge a complaint. "He was alone when he assaulted the judge", the Minister added.
"One person attempted to murder the judge. Doctors who are treating him have said prima facie he is out of danger", he said.
Amid reports of a security breach, Siddaramaiah said he had asked police to look into it and take action.
Soon after the CM Siddaramaiah arrived, the hospital was covered with heavy security. While addressing the press, he said an inquiry would be conducted. It has been found that the accused had complained against 15-17 public servants in connection with supply of furniture.
Justice Vishwanath Shetty had sworn in as Karnataka's Lokayukta on 28 January past year after the post went vacant following a bribery scandal.
Sharma had visited the Lokayukta office four times earlier, Kumar said. Eyewitness Jay Anna called out to Siddaramaiah government and said you can see what security the government has provided us.
After the incident, the Bharatiya Janata Party (BJP) blamed the ruling Congress for a "collapsed" law and order situation in the state.