It's important to know how high the tests were above the normal range (were they clinically significant?).
Cortisol is produced by the adrenal glands which is under control by the pituitary. The problem could be either one. Your doctor who ordered the cortisol should be able to tell you the next step of workup. If the tests were indeed very high, you will need more testings before treatment.