But he quickly distanced himself from suggestions that the Russian state was involved in election hacking.
"We never engaged in that on a state level, and have no intention of doing so," he said when asked if Russian hackers could try to influence the German parliamentary elections later this year.
Russian hacking of elections has been at the centre of a controversy since the US elections that gave Donald Trump the presidency. US intelligence agencies accuse Russia of hacking into Democratic Party emails, helping Trump win against his Democratic rival Hillary Clinton.
Putin said that in any case hackers cannot possibly sway election outcomes because the electorate is not so easily manipulated.
He said it's also possible that Russia could have been framed by hackers from other countries.
"I can imagine that some do it deliberately, staging a chain of attacks in such a way as to cast Russia as the origin of such an attack," Putin said. "Modern technologies allow that to be done quite easily."
(This story has not been edited by NDTV staff and is auto-generated from a syndicated feed.)