It is not lawful but haram. However, it is allowed to give bribe in severe compulsion (you can enquire about its detail when you need it). But it is not lawful to take bribe in any case.
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband