A computer hacker who falls somewhere between an ethical security expert and a criminal hacker. They break into systems without seeking money or causing deliberate harm, yet they still sometimes break the law along the way.
The gray hat found a flaw in the company's login page, reported it, and then felt guilty about getting in without permission.