Sure, CSAM is illegitimate. Around the world, it is actually criminalised under international agreements such as the UN Conference to the Rights in the Child. Legal guidelines change a bit, nevertheless the Main information is identical: children must be protected from exploitation, and CSAM can be a immediate violation of their rights and security