Can’t be much help without a model number. However, beings that this happens after “closing the lid”, I surmise that the water leak occurs after pouring water into the top, thus narrowing down your Bunn brewer to likely being one for household use.
If that’s the case, then it’s not repairable. It’s cheaply made (mostly plastic inside) and parts aren’t available to fix it. So your only option is to throw it away and buy a new one.
FWIW: Although a search for a solution on your “Bunn” product brought you here, we can only address issues on Bunn COMMERCIAL coffee brewers. They’re significantly more expensive and built to a much higher standard of quality, so parts and service for them are available.