CVE-2026-144460: OPNsense 25.1 before 25.7.3 Cross-Site Request Forgery via HA Restart All Endpoint
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/hasyncstatus/restartall 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 25.7.3
Event History
Frequently Asked Questions
Who is exposed to this issue?
OPNsense 25.1 installations before 25.7.3 are affected. Exploitation specifically requires an authenticated administrator to visit attacker-controlled content while their browser can reach the OPNsense web interface.
What does an attacker need to do to exploit it?
The attacker does not need OPNsense credentials, but must induce an authenticated administrator's browser to issue a request to the restart_all API endpoint, such as through a link or redirect. The affected endpoint accepts GET requests, which bypasses the API CSRF-token protection.
What is the operational impact of a successful request?
A successful request pushes a configuration sync to the high-availability peer and restarts all services on that peer. The supplied data does not indicate confidentiality or integrity impact beyond this service-disruption behavior.
How can this be remediated?
Update OPNsense to 25.7.3 or later. The issue is addressed by restoring appropriate request-method handling for the affected state-changing endpoint.