← Vulnerability feed

Vulnerability record · CVE-2022-31814 · published 5 September 2022

CVE-2022-31814: pfBlockerNG OS command injection via HTTP Host header

Netgate · Pfblockerng

pfSense pfBlockerNG through 2.1.4_26 passes shell metacharacters from the HTTP Host header into an OS command, allowing remote command execution as root. The flaw is trivially reachable over the network without credentials, and the package runs with high privileges on a perimeter firewall, so a single crafted request can fully compromise the device. Version 3.x is unaffected.

9.8 CVSS 3.1 Critical EPSS 92% · top 0.2% CWE-78 · OS command injection
9.8CVSS 3.1 base score
92%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
12References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

pfSense pfBlockerNG through 2.1.4_26 allows remote attackers to execute arbitrary OS commands as root via shell metacharacters in the HTTP Host header. NOTE: 3.x is unaffected.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityUnauthenticated remote root command execution on a perimeter firewall with public exploit code and near-maximum EPSS probability.

What it is

pfSense pfBlockerNG through 2.1.4_26 passes shell metacharacters from the HTTP Host header into an OS command, allowing remote command execution as root. The flaw is trivially reachable over the network without credentials, and the package runs with high privileges on a perimeter firewall, so a single crafted request can fully compromise the device. Version 3.x is unaffected.

Impact

An unauthenticated attacker gains arbitrary command execution as root on the pfSense host, enabling full control of the firewall, interception or redirection of traffic, and lateral movement into protected networks.

Attack surface

Reachable over the network via HTTP requests to the pfBlockerNG-exposed interface; the CVSS vector (AV:N/AC:L/PR:N/UI:N) and the advisory title indicate no authentication and no user interaction are required.

Exploitation

Not listed in CISA KEV, but EPSS is 0.91881 (99.8th percentile) and multiple references are tagged Exploit with public technical descriptions, indicating mature public exploit code.

What to do

  • Update pfBlockerNG to a fixed release (3.x or the patched 2.1.4 line) as the primary action.
  • If patching is delayed, restrict access to the pfSense webGUI and any pfBlockerNG-exposed endpoints to trusted management networks only.
  • Disable or remove the pfBlockerNG package on internet-facing pfSense instances that do not require it.
  • Review firewall rules for any exposure of the webGUI or package endpoints to untrusted networks and close them.
  • Monitor Netgate advisories and the FreeBSD-ports pull request for the exact fixed revision before deploying.

Detection

  • Inspect HTTP request logs and packet captures for Host headers containing shell metacharacters such as ;, |, $(), backticks, or newlines.
  • Alert on unexpected child processes spawned by the web server or pfBlockerNG components on the pfSense host.
  • Monitor for outbound connections or new files/scripts appearing on the firewall that are not part of normal package updates.
  • Correlate pfSense system logs for command execution errors or unusual root-level activity around web requests.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-31814 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2026-53266Linux kernel ebtables SNAT out-of-bounds write in ARP rewriteThe ebtables SNAT target rewrites the ARP sender hardware address via skb_store_bits() without first making that range writable. When the ARP SHA byt…KEVEPSS 0.65%analysed8.8CVE-2026-87491Google Chrome V8 out-of-bounds write enables sandbox code executionChrome before 153.0.8010.36 contains an out-of-bounds write in the V8 JavaScript engine. A crafted HTML page can trigger the memory corruption, and b…KEVEPSS 3.1%analysed9.8CVE-2025-25249Fortinet FortiOS and FortiSwitchManager heap buffer overflow via crafted packetsA heap-based buffer overflow (CWE-122/CWE-787) in Fortinet FortiOS 6.4 through 7.6.3 and FortiSwitchManager 7.0 through 7.2.6 lets an unauthenticated…KEVEPSS 3.9%analysed7.8CVE-2026-83549SonicWall SMA1000 AMC OS Command InjectionThe SMA1000 Appliance Management Console contains an OS command injection flaw (CWE-78) that lets an authenticated administrator execute arbitrary op…KEVEPSS 11%analysed10.0CVE-2026-49869Kestra OSS auth bypass via path suffix match enables RCEKestra OSS AuthenticationFilter whitelists the public config endpoint using request.getPath().endsWith("/configs"), a suffix match instead of an exac…KEVEPSS 2.1%analysed7.8CVE-2026-53362Linux kernel IPv6 UDP paged allocation out-of-bounds write__ip6_append_data() in the Linux kernel mis-accounts fraggap on the paged-allocation path, leaving the linear skb area undersized while pagedlen is o…KEVEPSS 0.71%analysed7.8CVE-2022-0995Linux kernel watch_queue out-of-bounds writeThe Linux kernel's watch_queue event notification subsystem contains an out-of-bounds write (CWE-787) that can overwrite kernel state. A local user c…KEVEPSS 8.8%analysed8.9CVE-2026-73570Zimbra Collaboration SNMP notification OS command injectionZimbra Collaboration Suite before 10.1.20 contains an OS command injection flaw in SNMP notification processing when the optional zimbra-snmp package…KEVEPSS 12%analysed

Source: NIST National Vulnerability Database (record CVE-2022-31814), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.