C2 adjective /ˈɛrənt/
errant
Meaning
behaving wrongly or straying from the proper course or standards
Example
The teacher disciplined the errant student.