Finger getting twisted with rotation All the fingers in the hand works perfectly, but the middle finger twist in the middle when rotate the bone on Y, the weight paint is correct, but still twists.
You should align the orientation of your bones in Edit mode with some CtrlR + angle value (I don't know why, technically, it makes it bug when non-aligned though):