maybe CAM got the info from Moriarty who in turn got it from Mycroft. would it be too much of a stretch to connect Moriarty and CAM somehow? their businesses do overlap somewhat.
We’ve got absolutely zero support for it from the series, but it’s not an illogical speculation. The stuff of which fanfic is made. ^_^