CVE-2026-111226

Netgate pfSense CE 2.4.5 through 2.9.0 and Plus through 26.07 OS Command Injection via system_advanced_admin.php

Published Oct 15, 2026 CVSS 4.0 · 8.6 High EPSS 7.2% KEV · Not listed
Description
pfSense CE 2.4.5 through 2.9.0 and Plus through 26.07 contains an OS command injection vulnerability that allows authenticated WebGUI users with Advanced Admin Access privilege to execute commands as root via Login Protection settings. Attackers can submit sshguard threshold, block time, or detection time values containing newlines or $(...) that are written unvalidated to sshguard.conf and sourced as root on restart.

Analysis

AI-generated

Technical impact

The updated description explains that pfSense Community Edition versions 2.4.5 through 2.9.0 and pfSense Plus versions up to 26.07 contain an OS command injection vulnerability that allows authenticated WebGUI users with Advanced Admin privileges to supply malicious values in the Login Protection settings. When a user submits sshguard threshold, block time, or detection time fields containing newlines or command substitution syntax, these values are written unchecked to sshguard.conf and subsequently executed as root when the firewall restarts, granting arbitrary root command execution.

Affected Systems

Netgate pfSense Community Edition versions 2.4.5 through 2.9.0 and Netgate pfSense Plus versions up to 26.07 are affected. The vulnerability resides in the WebGUI page system_advanced_admin.php, specifically in the handling of Login Protection settings that are persisted to sshguard.conf. Any deployment that grants Advanced Admin rights to a WebGUI user is vulnerable.

Risk and Exploitability

The CVSS score of 8.6 indicates a high severity, and the EPSS score of 7% shows a moderate likelihood of exploitation. The flaw is not listed in CISA's KEV catalog, but the combination of authenticated access, root execution and a trivial input validation failure creates a clear attack path. An attacker who has compromised Advanced Admin credentials can trigger the injection with a single form submission, transforming a breach of user credential compromise into root privileges on the firewall.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade pfSense CE or Plus to the latest released version that includes the fixed system_advanced_admin.php implementation.
  • Apply any security patches or updates provided by Netgate as soon as they become available.
  • Until patches are released, restrict Advanced Admin access to trusted users only and conduct regular audits.
  • Reconfigure the sshguard settings to eliminate any embedded newlines or command substitution syntax and restore the configuration file to its validated state.

Generated by OpenCVE AI on November 22, 2026 at 20:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description pfSense CE 2.4.5 through 2.9.0 contains an OS command injection vulnerability that allows authenticated WebGUI users with Advanced Admin Access privilege to execute commands as root via Login Protection settings. Attackers can submit sshguard threshold, block time, or detection time values containing newlines or $(...) that are written unvalidated to sshguard.conf and sourced as root on restart. pfSense CE 2.4.5 through 2.9.0 and Plus through 26.07 contains an OS command injection vulnerability that allows authenticated WebGUI users with Advanced Admin Access privilege to execute commands as root via Login Protection settings. Attackers can submit sshguard threshold, block time, or detection time values containing newlines or $(...) that are written unvalidated to sshguard.conf and sourced as root on restart.
Title Netgate pfSense CE 2.4.5 through 2.9.0 OS Command Injection via system_advanced_admin.php Netgate pfSense CE 2.4.5 through 2.9.0 and Plus through 26.07 OS Command Injection via system_advanced_admin.php
First Time appeared Netgate pfsense Plus
CPEs cpe:2.3:a:netgate:pfsense_plus:*:*:*:*:*:*:*:*
Vendors & Products Netgate pfsense Plus
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Netgate pfsense Ce
Vendors & Products Netgate pfsense Ce
Type Values Removed Values Added
Description pfSense CE 2.4.5 through 2.9.0 contains an OS command injection vulnerability that allows authenticated WebGUI users with Advanced Admin Access privilege to execute commands as root via Login Protection settings. Attackers can submit sshguard threshold, block time, or detection time values containing newlines or $(...) that are written unvalidated to sshguard.conf and sourced as root on restart.
Title Netgate pfSense CE 2.4.5 through 2.9.0 OS Command Injection via system_advanced_admin.php
First Time appeared Netgate
Netgate pfsense
Weaknesses CWE-78
CPEs cpe:2.3:a:netgate:pfsense:*:*:*:*:*:*:*:*
Vendors & Products Netgate
Netgate pfsense
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': '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'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 18, 2026, 12:44 AM
Reserved
Oct 15, 2026, 6:21 PM
Status
Awaiting Analysis
Published
Oct 15, 2026, 7:17 PM
Modified
Nov 18, 2026, 1:17 AM