Interesting question. Safety vents aren't provided as an end in itself. Their purpose is to avoid injury of persons by capacitor explosions in case of massive overpressure. The essential requirement is that no particles can be pojected out of an instrument. If an instrument case is able to contain an explosion, there's no safety issue.
Many SMPS vendors have potted AC/DC modules that include electrolytic capacitors, they all have the same problem. I'm not sure if and how the safety of these modules has been verified. But either the potting can be shown to withstand the expectable overpressure, or it's designed such that the overpressure can be released gradually.