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.
Published: 2026-10-15
Score: 8.6 High
EPSS: 6.5% Low
KEV: No
Impact: Remote Command Execution
Action: Immediate Patch
AI Analysis

Impact

This vulnerability is an operating‑system command injection in pfSense CE 2.4.5 through 2.9.0. An authenticated user with Advanced Admin access can submit arbitrary content in sshguard threshold, block time or detection time fields through the WebGUI, which is written directly into sshguard.conf without proper validation. On a firewall restart the file is sourced with root privileges, allowing the attacker to inject commands such as $(…) or newline characters that are executed as root. This flaw permits the attacker to run arbitrary system commands, compromising confidentiality, integrity and availability of the device.

Affected Systems

Netgate pfSense Community Edition versions 2.4.5 up to and including 2.9.0. The affected component is the WebGUI page system_advanced_admin.php, specifically the handling of Login Protection settings that are persisted to sshguard.conf. Any deployment of these pfSense releases 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 7% demonstrates a moderate likelihood that the vulnerability will be exploited in the near term. The flaw is not listed in CISA's KEV catalog, but the combination of authenticated access, root execution and a trivial input sanitization failure creates a clear attack path. An attacker who has obtained Advanced Admin credentials can trigger the injection with a single form submission, meaning that breach of user credential compromise directly translates into root privileges on the firewall.

Generated by OpenCVE AI on October 16, 2026 at 17:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade pfSense CE to the latest released version that contains the fixed implementation of system_advanced_admin.php.
  • Apply any security patches provided by Netgate before the next update cycle.
  • Until a patch is available, restrict the use of Advanced Admin access to trusted users only and audit regularly.
  • Reconfigure the sshguard settings to remove any embedded newlines or command substitution syntax and restore the configuration file to its original validated state.

Generated by OpenCVE AI on October 16, 2026 at 17:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 17 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
First Time appeared Netgate pfsense Ce
Vendors & Products Netgate pfsense Ce

Thu, 15 Oct 2026 19:00:00 +0000

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'}


Subscriptions

Netgate Pfsense Pfsense Ce
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T15:07:37.949Z

Reserved: 2026-10-15T18:21:22.260Z

Link: CVE-2026-111226

cve-icon Vulnrichment

Updated: 2026-10-26T15:07:32.078Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-15T19:17:35.373

Modified: 2026-10-26T16:17:13.537

Link: CVE-2026-111226

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T14:00:09Z

Weaknesses
  • CWE-78

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