CVE-2026-111226Netgate pfSense CE 2.4.5 through 2.9.0 and Plus through 26.07 OS Command Injection via…
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.
What to do
Likely to be exploited: EPSS gives a 20% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Netgate pfSense CE: affected: 2.4.5 to before 2.9.1; fixed in
2.9.1 - Netgate pfSense Plus: affected: before 26.07.1; fixed in
26.07.1
Vendor advisories:
- https://docs.netgate.com/downloads/pfSense-SA-26_30.webgui.asc (vendor-advisory)
- https://redmine.pfsense.org/issues/17200 (patch)
- https://docs.netgate.com/pfsense/en/latest/releases/26-07-1_2-9-1.html (release-notes)
References
- https://github.com/abraxas/pfsense-sshguard-crlf
- https://abraxaslabs.tech/research/pfsense-ce-leftovers
- https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/usr/local/pfSense/include/www/system_advanced_admin.inc#L355-L381
- https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/inc/syslog.inc#L531-L563
- https://www.vulncheck.com/advisories/netgate-pfsense-ce-2.4.5-through-2.9.0-os-command-injection-via-system-advanced-admin-php
- https://docs.netgate.com/downloads/pfSense-SA-26_30.webgui.asc
- https://redmine.pfsense.org/issues/17200
- https://docs.netgate.com/pfsense/en/latest/releases/26-07-1_2-9-1.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.