Cannabidiol (CBD) oil is a product that's derived from cannabis. It's a type of cannabinoid, which are the chemicals naturally found in marijuana plants.
Cannabis is an intoxicant hence it is not allowed to consume it. If CBD causes any type or degree of intoxication, it will be Haraam as well.
Wassalam.