Gubbins, best known for portraying stalker Ray Mullan in ITV's rural soap, has pleaded guilty on the charge that he was using the Class B drug for his own use.
The value of the plant drug yield was between £12,500 and £24,800, according to the Daily Star.
The father-of-two, born in Ireland, could face a jail sentence as long as two years.
Judge David Fletcher adjourned the case, acknowledging that Gubbins could have used his 25 plants for commercial purposes.
"There is undoubtedly a set-up which is capable of something more adventurous," he said.
"You have entered a guilty plea and the court now has to decide where the level of your guilt lies."
The 47-year-old has also had small roles in other long-running drama serials including Doctors, The Bill and Casualty.
His most recent soap part was in Waterloo Road in 2009. He also starred in BBC One's 32 Brinkburn Street last year.
Gubbins also played a minor role in Robin Williams's 1994 movie Being Human.