Skip to main content

OPNsense EUVDEUVD-2026-30184

| CVE-2026-44194 CRITICAL
OS Command Injection (CWE-78)
2026-05-13 security-advisories@github.com
9.1
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Recon
    Obtain user-management credentials
  2. Delivery
    Authenticate to OPNsense web UI
  3. Exploit
    Submit crafted email with shell metacharacters
  4. Install
    Trigger local user sync invoking sync_user.php
  5. C2
    Shell executes injected command as root
  6. Execute
    Establish persistence on firewall
  7. Impact
    Pivot into protected network segments

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

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

Exploitation Conditions

The attacker must already possess valid OPNsense credentials for an account holding the user-management privilege (CVSS PR:H), and the local user synchronization flow that invokes core/src/opnsense/scripts/auth/sync_user.php must be reachable - this is a built-in management workflow, so the gating factor is the role, not a non-default feature. No end-user interaction is required (UI:N). Exploitation is limited to OPNsense core versions earlier than 26.1.8, and practical reach depends on whether the management interface is exposed beyond the trusted admin network; deployments that restrict user-management to a single root-equivalent administrator effectively remove the realistic attack surface.

Impact

Signals point to a high-impact but access-limited vulnerability. The CVSS 9.1 score is driven by network attack vector (AV:N), low complexity (AC:L), changed scope (S:C, escalation from user-manager role to root/OS), and total CIA impact - but PR:H makes successful exploitation contingent on first obtaining a high-privilege management account. EPSS at 0.13% (32nd percentile) is consistent with that gating, and SSVC's 'Automatable: no' aligns: exploitation requires an authenticated, privileged session, so worms or mass scanners are unlikely. SSVC 'Exploitation: poc' indicates publicly available exploit code exists, and 'Technical Impact: total' confirms full system compromise once reached. No KEV listing, no claims of in-the-wild abuse. Prioritize this for any OPNsense deployment where the management interface is multi-tenant, where user-management is delegated, or where the UI is exposed beyond a trusted admin network - in those cases the PR:H barrier is materially lower than it looks.

Exploit ScenarioDerived

An attacker who has obtained credentials for an OPNsense account with user-management rights - through phishing of a junior admin, credential reuse, or insider abuse - logs into the web UI and creates or edits a local user, supplying an email address crafted to pass format validation while embedding a shell metacharacter sequence (for example, a payload using $() or backticks). When the backend invokes sync_user.php as root, the embedded command executes, giving the attacker arbitrary command execution as root on the firewall. Public POC code exists per SSVC, lowering the skill barrier for an attacker who already has a foothold.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 08, 2026

Authenticated remote code execution in OPNsense firewall versions prior to 26.1.8 allows a user with user-management privileges to execute arbitrary commands as root by smuggling shell payloads inside an email-address-formatted field processed by the local user synchronization script. Publicly available exploit code exists per SSVC, though EPSS scoring (0.13%) indicates low predicted mass exploitation; SSVC classifies technical impact as total but automation as no. No active exploitation has been confirmed in CISA KEV at time of analysis.

RemediationAI

Vendor-released patch: upgrade OPNsense core to 26.1.8 or later, which corrects input handling in core/src/opnsense/scripts/auth/sync_user.php; details are in the GitHub Security Advisory at https://github.com/opnsense/core/security/advisories/GHSA-f59w-m967-9rf6. Until the upgrade is applied, restrict the user-management privilege to a minimal set of trusted accounts and audit existing assignments - this is the cheapest compensating control because PR:H means an attacker must already hold this role. Additionally, ensure the OPNsense web/management interface is not reachable from untrusted networks (bind to a management VLAN or enforce firewall rules limiting source IPs); side effect is reduced remote-admin convenience. Review logs for recent local user create/sync operations containing unusual email values (backticks, $(), pipes, semicolons) to detect prior exploitation attempts before patching.

Affected VersionsENISA

core < 26.1.8

Affected Packages

euvd core fix: 26.1.8

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

OPNsense is an open-source FreeBSD-based firewall and routing platform whose web UI and management scripts are written largely in PHP. The flaw is rooted in core/src/opnsense/scripts/auth/sync_user.php, the helper that synchronizes local user accounts and is invoked with root privileges. The root cause is CWE-78 (OS Command Injection): the email-address input is passed to a shell context after only superficial format validation, so a syntactically valid email string that also contains shell metacharacters (e.g., backticks, $(), pipes) survives validation and is interpreted by the underlying OS shell. Because the script runs as root, any injected command inherits full system privileges, turning a legitimate management workflow into a full host takeover primitive.

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 (github) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Primary rating from Vendor (github) · only source for this CVE.

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
May 13, 2026 - 23:17 EUVD

DescriptionCVE.org

OPNsense is a FreeBSD based firewall and routing platform. Prior to 26.1.8, an authenticated Remote Code Execution (RCE) vulnerability in the OPNsense core allows a user with user-management privileges to execute arbitrary system commands as root. An attacker can bypass input validation by formatting their malicious payload as a compliant email address, allowing shell commands to reach the underlying operating system. The flaw exists in the local user synchronization flow, within core/src/opnsense/scripts/auth/sync_user.php. This vulnerability is fixed in 26.1.8.

Executive ViewAI

Why It Matters

OPNsense firewalls running versions before 26.1.8 are vulnerable to remote code execution by users with user-management privileges, with publicly available exploit code increasing the risk of unauthorized system control. Organizations with delegated user-management access face potential network infrastructure compromise. Immediate patching to version 26.1.8 is required to secure critical firewall systems.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 68% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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