Cinemachine involved in random Editor freeze?

Hello, I keep getting Unity editor freezes but I can’t nail down the cause.
The reason I’m posting it here is that with Visual Studio attached as debugger to Unity, I keep getting Cinemachine methods, maybe in some kind of loop.
The freezes happen randomly and with no way to recreate them. The only way to stop them is to restart unity.
I don’t know if Cinemachine is causing the freeze, but maybe someone can help me find the cause? I don’t have any editor script involved with the camera in Unity as far as I can remember.

Unity version: 2019.4.40f1
Cinemachine version: 2.6.17

Here is the debugger thread from Visual Studio:

Vector3 Cinemachine.CinemachineSmoothPath:EvaluatePosition (Single)+0x0
Vector3 Cinemachine.CinemachineSmoothPath:EvaluatePosition (Single)+0x0
Single Cinemachine.CinemachinePathBase:FindClosestPoint (Vector3, Int32, Int32, Int32)+0xc3
Void Cinemachine.CinemachineTrackedDolly:MutateCameraState (CameraState, Single)+0xdc
CameraState Cinemachine.CinemachineVirtualCamera:CalculateNewState (Vector3, Single)+0x1af
Void Cinemachine.CinemachineVirtualCamera:InternalUpdateCameraState (Vector3, Single)+0x5
Void Cinemachine.CinemachineCore:UpdateVirtualCamera (CinemachineVirtualCameraBase, Vector3, Single)+0x13d
Void Cinemachine.CinemachineCore:UpdateAllActiveVirtualCameras (Int32, Vector3, Single)+0x106
Void Cinemachine.CinemachineBrain:UpdateVirtualCameras (UpdateFilter, Single)+0x32
Void Cinemachine.CinemachineBrain:ManualUpdate ()+0xb8
Void Cinemachine.CinemachineBrain:LateUpdate ()+0x12

CM 2.6 is very old and is no longer supported. Try upgrading to 2.9.8 and see if the problem disappears.
Follow these steps to upgrade: How do I install a specific version of Cinemachine?

Hey Gregoryl, thanks for the help!
I updated Cinemachine but unfortunately the freeze keep happening with the same log. Do you have any tips on what might be causing it, or how to find the issue?

Can you send me a small project that repros this? It probably has something to do with your CinemachineSmoothPath objects - so a simple scene with just the paths in it might be enough.

Unfortunately my project is quite big at this point. I tried deleting everything unnecessary and just leaving a scene with Cinemachine and the camera but it doesn’t seem to happen.
Sometimes I leave Unity running for an entire day and it goes without problems, sometimes it freezes 10 times in a row (it only affects the editor).
It can freeze when navigating the scene, when saving a prefab or when leaving Unity running in background. There isn’t a way to replicate it on will.

Can you have a scene with just Cinemachine, including all the cinemachine paths? If you can make that, please send it to me (just export it as a .unitypackage)