RawTherapee has a quite good tool to autmatically correct chromatic aberrations for raw files using an algorithm which is also used in darktable and photoflow.
Though it works quite good on images with not so much CA, it fails to remove the CA on images with a lot of CA.
Left is without raw auto ca correction, right is with current auto ca correction
As you can see, the ca is reduced a bit but there’s still a lot of ca present
Now take a look at this one:
Left is without raw auto ca correction, right is with the improved auto ca correction