Discuss the situation with your hierarchy. You should not work on any task that could create a conflict of interest, or the appearance thereof, between CERN and your future employer.
Bear in mind that your obligation not to disclose any confidential information you have acquired in connection with your work at CERN continues to exist after you leave the Organization.