Description
OPNsense 25.1 before 25.7.3 contains a cross-site request forgery vulnerability in HasyncStatusController::restartAllAction() (src/opnsense/mvc/app/controllers/OPNsense/Core/Api/HasyncStatusController.php), whose request method check was disabled by an unconditional 'true ||', so the state-changing /api/core/hasync_status/restart_all endpoint runs on GET requests, which the API's CSRF token check does not cover. Attackers can make an authenticated administrator's browser request the endpoint, for example through a link or redirect, which pushes a configuration sync to the high availability peer and restarts all of the peer's services.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| opnsense | core | 25.1 – < 25.7.3 | 25.7.3 |
Advisories 1
- WID-SEC-2026-5001 OPNsense: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 3, 2026