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.
CVE-2022-31814
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-09-06. NVD baseline CVSS 9.8; sources differ by 0.0.
- High exploitation likelihood — EPSS 87%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 94(Attend)EG Risk 94/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation87% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS
- 99.7%
- KEV
- Not listed
Published
September 5, 2022
Last Modified
November 21, 2024
Advisory Details (4)
Auto-updated Jun 9, 2026pfBlockerNG v2.1.4_27
Fix merged in pfsense/FreeBSD-ports PR #1169 on 2022-06-05 — awaiting tagged release
https://github.com/pfsense/FreeBSD-ports/pull/1169pfBlocker-NG Package | pfSense Documentation
https://docs.netgate.com/pfsense/en/latest/packages/pfblocker.htmlpfBlockerNG Unauth RCE Vulnerability - IHTeam Security Blog
https://www.ihteam.net/advisory/pfblockerng-unauth-rce-vulnerability/pfBlockerNG v2.1.4_27
Fix merged in pfsense/FreeBSD-ports PR #1169 on 2022-06-05 — awaiting tagged release
https://github.com/pfsense/FreeBSD-ports/pull/1169/commits/071bdcf2d918c3e51cde11cf81fbd9b6f0379d7eWeakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 19× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 02:11 UTCEG score recompute
- 2026-07-22 22:58 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
Show 14 moreShow fewer
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-25 16:02 UTCEG score recompute
- 2026-05-25 16:02 UTCGHSA enrichment
- 2026-05-24 16:51 UTCEPSS rescore
Publicly available exploits
(7 references)Working exploit code is in the public domain (1 Metasploit module) (4 GitHub PoCs) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCLaburity/CVE-2022-31814First seen Jul 23, 2024
Updated Exploit - pfBlockerNG <= 2.1.4_26 Unauth RCE (CVE-2022-31814)
Open source ↗ - GitHub PoCChocapikk/CVE-2022-31814First seen Mar 26, 2023
pfBlockerNG <= 2.1.4_26 Unauth RCE (CVE-2022-31814)
Open source ↗ - GitHub PoCdrcayber/RCEFirst seen Mar 5, 2023
CVE-2022-31814
Open source ↗ - Exploit-DBEDB-51032First seen Feb 20, 2023
pfBlockerNG 2.1.4_26 - Remote Code Execution (RCE)
Open source ↗ - GitHub PoCEvergreenCartoons/SenselessViolenceFirst seen Sep 18, 2022
CVE-2022-31814 Exploitation Toolkit.
Open source ↗ - Metasploitexploit/unix/http/pfsense_pfblockerng_webshell✓ verifiedFirst seen Sep 5, 2022
pfSense plugin pfBlockerNG unauthenticated RCE as root
Open source ↗ - Nucleihttp/cves/2022/CVE-2022-31814.yamlFirst seen Jan 1, 2022
pfSense pfBlockerNG <=2.1..4_26 - OS Command Injection
Open source ↗
Related CVEs(same CWE)
Same CWE
10 shownCWE-78
Frequently asked(5)
What is CVE-2022-31814?
When was CVE-2022-31814 disclosed?
Is CVE-2022-31814 actively exploited?
What is the CVSS score of CVE-2022-31814?
How do I remediate CVE-2022-31814?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2022-31814
Is Your Infrastructure Affected by CVE-2022-31814?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.