Skip to main content

OPNsense CVE-2026-144460

| EUVDEUVD-2026-143779 LOW
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-12-04 1a4f025a-074d-4105-b4e2-52bd8eabe2ea GHSA-jx8m-c27x-3gpj
2.3
CVSS 4.0 · Vendor: 1a4f025a-074d-4105-b4e2-52bd8eabe2ea
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure authenticated admin to crafted link
  2. Delivery
    Admin browser issues GET to /api/core/hasync_status/restart_all
  3. Exploit
    GET bypasses POST and CSRF token check
  4. Execution
    Config sync pushed to HA peer
  5. Impact
    Peer services restarted, availability disrupted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the OPNsense instance (25.1 up to but not including 25.7.3) be deployed in a High Availability configuration with a configured sync peer - otherwise the restart_all action has no meaningful target, which is what the AT:P attack requirement reflects. It further requires an authenticated administrator with an active web-UI session to be tricked into interacting with an attacker-controlled link, page, or redirect (UI:P); the attacker themselves needs no credentials (PR:N) because the request rides the victim's authenticated session. The limiting factors are therefore: mandatory admin user interaction, an existing authenticated admin session, and a non-default HA/hasync deployment; impact is limited to availability (restarting the peer's services) with no data disclosure or modification.

Impact

This is a genuinely low-priority issue, and the multiple signals agree rather than conflict. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P) scores only 2.3: the attacker needs no credentials but must get a logged-in administrator to interact (UI:P) and the attack requirement AT:P reflects that the target must be running in a High Availability configuration for the action to matter. Impact is confined to availability (VA:L) with no confidentiality or integrity effect (VC:N/VI:N), consistent with the described outcome of pushing a config sync and restarting the peer's services. The vuln.today decision label is 'monitor', not act_now or emergency. No EPSS score was provided in the input and there is no CISA KEV listing, so exploitation is 'no public exploit identified at time of analysis' - the GitHub links are vendor fix commits and a changelog, not exploit code. There is no conflict between signals here; the only caveat is that EPSS was not supplied, so probabilistic exploitation likelihood could not be weighed. Net: a real but minor availability/CSRF defect, not a high-urgency item.

Exploit ScenarioDerived

An attacker lures a currently-authenticated OPNsense administrator into visiting a malicious web page or clicking a crafted link while logged into the firewall's web UI. Because the state-changing restart_all endpoint erroneously ran on GET requests (which the API CSRF token check does not cover), the admin's browser silently issues the request, pushing a configuration sync to the High Availability peer and restarting all of the peer's services, causing a service interruption. No public exploit code was identified in the provided intelligence.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 04, 2026

Cross-site request forgery in the OPNsense 25.1 through 25.7.2 web GUI lets an attacker lure a logged-in administrator into a crafted GET request that triggers a configuration sync and restarts all services on a High Availability peer. Exploitation requires a non-default HA deployment with a configured sync peer plus an authenticated admin session and user interaction, so the attacker needs no credentials of their own but cannot act without the victim. Impact is limited to availability of the peer's services - no disclosure or modification - and no public exploit has been identified at time of analysis (CISA KEV does not list this CVE).

RemediationAI

Upgrade to OPNsense 25.7.3 or later, which contains the corrected request-method check; the change is visible in commits 12e9b1752a2c7aac032666e9d0c50d0c7b7e69dc and 776ada6493330c65b3b740e9d0ebdd18695f05e8 (https://github.com/opnsense/core) and the release notes are at https://github.com/opnsense/changelog/blob/master/community/25.7/25.7.3. The patch removes the unconditional 'true ||' short-circuit so that the handler again enforces POST, which is the request type covered by the API's CSRF token validation, and updating is the complete fix described by the vendor. For instances that cannot be updated immediately, note that the action only has a meaningful target where a High Availability hasync peer is configured - systems without a sync peer are not exposed to the availability impact of the peer restart, so deferring or removing unused HA pairing reduces exposure while the upgrade is scheduled. Given the decision label of monitor, the conditional prerequisites (HA deployment, authenticated admin session, user interaction) and the availability-only impact, this is a low-urgency item; no public exploit code has been identified at time of analysis.

Affected VersionsENISA

core 25.1 <25.7.3

Affected Packages

euvd core fix: 25.7.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic CWE-352 cross-site request forgery rooted in a request-method guard inside OPNsense's PHP MVC API layer. In HasyncStatusController (src/opnsense/mvc/app/controllers/OPNsense/Core/Api/HasyncStatusController.php), the state-changing handler for /api/core/hasync_status/restart_all was gated by an unconditional short-circuit of the form 'if (true || $this->request->isPost())', so the POST-only check was permanently satisfied and the action executed on GET requests as well. OPNsense's API-layer CSRF token validation only covers POST requests, so any request arriving as a GET bypasses it and rides the administrator's existing web-UI session cookie. The supplied fix commits (12e9b1752a2c7aac032666e9d0c50d0c7b7e69dc and 776ada6493330c65b3b740e9d0ebdd18695f05e8) simply restore the real request-method check; the hunk shown in the diff is on restartAction within the same controller, while the advisory text names restartAllAction. The function's effect is to push a configuration sync to the high-availability peer and restart all of that peer's services, which is why the CVSS 4.0 vector carries AT:P - the impact only materialises when the instance is actually paired with an HA sync peer. The precise way the administrator is induced to issue the GET (link, redirect, embedded resource) is not described in the available sources.

Know when Opnsense gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (1a4f025a-074d-4105-b4e2-52bd8eabe2ea) PRIMARY 2.3 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Attacker needs no credentials but rides a logged-in admin's session via a crafted link, so PR:N/UI:R; impact is limited to availability of the HA peer's restarted services (A:L), no C/I effect.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (1a4f025a-074d-4105-b4e2-52bd8eabe2ea).

CVSS VectorVendor: 1a4f025a-074d-4105-b4e2-52bd8eabe2ea

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Dec 04, 2026 - 02:31 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Medium
popular open-source firewall/router, common in SMB and homelab, not ubiquitous
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Related Vulnerabilities in OPNsense CSRF and XSS Vulnerabilities

View all 2
CVE-2023-39004 CRITICAL POC
9.8 Aug 09

Insecure permissions in the configuration directory (/conf/) of OPNsense Community Edition before 23.7 and Business Edit

CVE-2023-27152 CRITICAL POC
9.8 Oct 23

DECISO OPNsense 23.1 does not impose rate limits for authentication, allowing attackers to perform a brute-force attack

CVE-2023-39008 CRITICAL POC
9.8 Aug 09

A command injection vulnerability in the component /api/cron/settings/setJob/ of OPNsense Community Edition before 23.7

CVE-2023-39001 CRITICAL POC
9.8 Aug 09

A command injection vulnerability in the component diag_backup.php of OPNsense Community Edition before 23.7 and Busines

CVE-2023-39007 CRITICAL POC
9.6 Aug 09

/ui/cron/item/open in the Cron component of OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 al

CVE-2023-39003 HIGH POC
7.5 Aug 09

OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 was discovered to contain insecure permissions

CVE-2023-39005 HIGH POC
7.5 Aug 09

Insecure permissions exist for configd.socket in OPNsense Community Edition before 23.7 and Business Edition before 23.4

CVE-2023-38997 HIGH POC
7.2 Aug 09

A directory traversal vulnerability in the Captive Portal templates of OPNsense Community Edition before 23.7 and Busine

CVE-2023-38999 MEDIUM POC
6.5 Aug 09

A Cross-Site Request Forgery (CSRF) in the System Halt API (/system/halt) of OPNsense Community Edition before 23.7 and

CVE-2019-25373 MEDIUM POC
6.4 Feb 15

OPNsense 19.1 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicio

CVE-2019-25369 MEDIUM POC
6.4 Feb 15

OPNsense 19.1 contains a stored cross-site scripting vulnerability in the system_advanced_sysctl.php endpoint that allow

CVE-2019-25372 MEDIUM POC
6.1 Feb 15

OPNsense 19.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject ma

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy