Authorization bypass through user-controlled key in OPNsense - #VU139365
Published: July 26, 2026
Vulnerability details
The vulnerability allows a remote user to disclose private keys and potentially impersonate clients or services.
The vulnerability exists due to authorization bypass through user-controlled key in OPNsense\OpenVPN\Api\ExportController when handling download requests with a route-supplied certificate reference. A remote user can submit a crafted download request with an unlisted certificate reference to disclose private keys and potentially impersonate clients or services.
The download endpoint does not verify that the requested certificate belongs to the selected server CA, the current user, or any export-visible account row.