Pretty common to have issues with the solenoids (usually torque converter) in the early CVTs. Subaru does not sell the solenoids separately, and the chinese solenoids you can find on Amazon and such only last a few months.
I got my hands on a used valve body and used the good solenoids (there are 3 that are identical), which worked great for a year or so until the rest of the CVT gave up the ghost. That was with about 220k on a 2012 Impreza. I really should start parting out that car....
good news is the valve body is on the top, accessible right below the airbox. Really not too bad of a job.
But consider that the best case scenario, and assume the worst. Good CVTs are expensive.