to take a risk by doing sth that is dangerous or that may be illegal
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition