Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to pfSense web UI with QinQ edit rights
-
DeliverySave crafted parent interface 'if' value
-
ExploitEdit QinQ entry to interpolate value into ifconfig
-
ExecutionShell metacharacters execute as root
-
ImpactFull firewall compromise
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 | Exploitation requires an authenticated pfSense web interface account that holds the QinQ edit privilege (per CVSS PR:H), plus network reachability to the management UI. The specific feature is QinQ VLAN interface editing (interfaces_qinq_edit.php): the attacker stores an unvalidated parent interface 'if' value, then re-edits the QinQ entry so that value is interpolated into an ifconfig shell command, achieving code execution as root. No end-user interaction is needed (UI:N). The principal limiting factor is the privilege requirement - this is a post-authentication flaw usable only by operators already trusted with interface configuration - and risk is further bounded where the pfSense management interface is not exposed to untrusted networks or lower-trust users. |
| Impact | This is a genuine but access-gated priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H, base 8.6) is consistent with the description: network-reachable web UI, low complexity, but PR:H because the attacker must already hold QinQ edit privilege in pfSense - i.e. an authenticated administrative-tier account. Technical impact is total (code execution as root, full C/I/A loss), and SC/SI/SA:N correctly reflect no cross-system scope change. A public POC exists (VulnCheck advisory plus a GitHub exploit repo), which raises practical risk, but this is NOT the same as active exploitation: there is no CISA KEV listing and no EPSS score provided in the input, so widespread opportunistic exploitation cannot be asserted. The key tension is the PR:H gate - because exploitation presupposes an already-privileged web user, this is primarily a privilege-to-root escalation / post-authentication RCE rather than a pre-auth internet worm. Prioritize patching for any pfSense exposing its management interface to untrusted users or where lower-trust operators hold interface-edit rights; de-prioritize relative to pre-auth critical firewall bugs. EPSS and KEV data are both absent/negative, so real-world exploitation volume is unknown. |
| Exploit ScenarioDerived | An authenticated pfSense operator holding QinQ edit privilege saves a QinQ entry with a malicious parent interface ('if') value containing shell metacharacters, then edits the entry so the stored value is interpolated into an ifconfig command. When the command runs, the injected payload executes as root, giving full control of the firewall. A public proof-of-concept is available (abraxaslabs / GitHub), lowering the skill required to reproduce the attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 15, 2026
OS command injection in Netgate pfSense CE 2.7.0 through 2.9.0 allows an authenticated web-interface user who holds the QinQ edit privilege to execute arbitrary commands as root. The attacker saves a crafted parent interface ('if') value and then re-edits the QinQ entry, causing that unvalidated value to be interpolated into an ifconfig shell command; publicly available exploit code exists, and no confirmed active exploitation (CISA KEV) has been reported. The principal constraint is the high privilege requirement - only operators already trusted with interface configuration can reach the vulnerable code path - and risk is further reduced where the management UI is not exposed to untrusted networks or lower-privileged users.
RemediationAI
No vendor-released patch version is confirmed in the available data; the referenced GitHub links point to the vulnerable source lines rather than to a tagged fix, so admins should track the Netgate/VulnCheck advisory (https://www.vulncheck.com/advisories/netgate-pfsense-ce-2.7.0-through-2.9.0-os-command-injection-via-interfaces-qinq-edit-php) for a fixed release and upgrade as soon as one is published. Until then, apply targeted compensating controls: restrict the webConfigurator and SSH management interfaces to a dedicated trusted management VLAN or VPN and block them from untrusted networks (trade-off: loses convenient remote administration); remove the QinQ edit privilege from all non-essential administrator accounts and enforce least privilege and unique credentials (trade-off: may disrupt delegated interface-management workflows); and, if QinQ VLANs are not in use, avoid granting QinQ access or remove/disable the feature where operationally possible (trade-off: breaks legitimate QinQ configuration). Because exploitation requires the ability to save and re-edit a QinQ entry, auditing existing QinQ configurations for unexpected or metacharacter-laden parent interface names and reviewing administrator account privileges for anomalous changes is recommended; note that simply monitoring logs after the fact is insufficient, since the injected command runs with root privileges. Published proof-of-concept material exists (https://github.com/abraxas/pfsense-qinq-parent-if), which lowers the effort required to reproduce the issue, reinforcing the priority of restricting management-plane access.
Affected VersionsENISA
Affected Packages
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 OS command injection (CWE-78) in the pfSense CE webConfigurator's QinQ VLAN interface editor. pfSense is a FreeBSD-based firewall/router distribution whose PHP web GUI writes configuration and invokes system utilities, often with root context, when applying interface changes. According to the referenced source, interfaces_qinq_edit.php accepts a parent interface 'if' parameter and stores it without validation (see lines 136 and 212 of the file at commit 9363ac5b), and the value is later consumed by code in src/etc/inc/interfaces.inc (line 620) that builds and executes ifconfig shell commands. Because the stored value is concatenated into a shell command string rather than passed as an escaped argument or validated against a whitelist of real interface names, shell metacharacters embedded in the parent interface name are interpreted by the shell when the entry is subsequently edited/applied, running attacker-supplied commands as root. Exploitation is a two-step stored pattern: first save the poisoned 'if' value, then trigger the re-edit of the QinQ entry so the payload is interpolated and executed. The vulnerable surface is the QinQ editing feature specifically, not the entire management interface.
Know when Pfsense Ce 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable web UI with low complexity, but PR:H because the QinQ edit privilege is required; root code execution yields full C/I/A with scope unchanged on the same system.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Netgate pfSense CE 2.7.0 through 2.9.0 contains an OS command injection vulnerability that allows authenticated users with QinQ edit privilege to run commands by storing an unvalidated parent interface name. Attackers can save a crafted 'if' value, then edit the QinQ entry so it is interpolated into ifconfig shell commands, executing commands as root.
Technical POC Analysis
CWE-78 OS command injection in pfSense CE's QinQ WebGUI handler.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 public PoC link from github
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
Netgate pfSense CE firewall and router deployments running versions 2.7.0 through 2.9.0 contain a command-injection flaw in the web management interface that lets an already-privileged administrator account execute commands with full root control of the device. Because pfSense typically sits at the network perimeter enforcing segmentation, VPN access, and filtering, a compromised appliance can expose or disable those protections for the entire organization. Leadership should care because no vendor fix is currently available, exploit code is publicly circulating, and the affected accounts are exactly the ones network and security staff use daily.
No vendor-released patch identified at time of analysis. Interim mitigations: network-isolate the webGUI so it is unreachable from untrusted networks, restrict management access to a dedicated administrative VLAN or out-of-band connection, remove the QinQ edit privilege from all non-essential accounts, enforce multi-factor authentication for webGUI administrators, disable the QinQ feature entirely where it is not in operational use, and monitor configuration and system logs for anomalous interface values or unexpected shell command execution.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
More in Pfsense Ce
View allThe SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
Command injection in pfSense CE 2.7.0 through 2.9.0 allows authenticated users who hold only the Captive Portal HA privi
Authenticated VPN users can execute arbitrary commands as root on pfSense CE through 2.9.0 by exploiting an OS command i
PHP code execution on Netgate pfSense Plus and pfSense CE firewalls can be achieved by an authenticated, highly privileg
Authorization bypass in Netgate pfSense CE through 2.9.0 allows an authenticated WebGUI account that holds page privileg
Command injection in Netgate pfSense CE 2.4.5 through 2.9.0 lets an authenticated WebGUI user holding the Advanced Admin
Command injection in Netgate pfSense CE 2.7.0 through 2.9.0 lets an authenticated administrator who holds IPsec Mobile c
Root command execution on pfSense CE through 2.9.0 is achievable by authenticated attackers holding the 'WebCfg - Interf
OS command injection in Netgate pfSense CE 2.7.0 through 2.9.0 lets an authenticated web GUI user who holds the Traffic
Command injection in Netgate pfSense CE through 2.9.0 allows an authenticated user with Virtual IP (CARP) edit privilege
OS command injection in Netgate pfSense CE (through 2.9.0) allows remote attackers holding an authenticated web-GUI acco
Command injection in Netgate pfSense CE through 2.9.0 allows remote authenticated users with limited 'Wireless Edit' or
EUVD-2026-102326
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB