a mistake in the way a law, contract, etc. has been written that enables people to legally avoid doing something that the law, contract, etc. had intended them to do a legal loophole to close existing loopholes
Check pronunciation: loophole
Definition of loophole noun from the Oxford Advanced American Dictionary