Skip to content
Emerging threatsHigh

CVE-2018-4021Pfsense OS Command Injection

An exploitable command injection vulnerability exists in the way Netgate pfSense CE 2.4.4-RELEASE processes the parameters of a specific POST request.

Published Dec 3, 2018 · Updated Nov 21, 2024

Key Facts

Patch immediately
  • CVE-2018-4021 is a high-severity vulnerability (CVSS 7.2 v3.1) affecting Pfsense (Netgate).
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 70% probability of exploitation in the next 30 days.
  • No fixed version is listed yet; check the vendor advisory for mitigations.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

7.2

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

EPSS (30-day exploit likelihood)

70%

Higher than 99.3% of all scored CVEs

Exploit maturity

None known

ATLAS score

25/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

1

Reports of active use

Description

An exploitable command injection vulnerability exists in the way Netgate pfSense CE 2.4.4-RELEASE processes the parameters of a specific POST request. The attacker can exploit this and gain the ability to execute arbitrary commands on the system. An attacker needs to be able to send authenticated POST requests to the administration web interface. Command injection is possible in the powerd_battery_mode POST parameter.

Affected Products

2 affected entries in total
ProductAffected versionsFixed in
PfsenseNetgate2.4.4, >= Netgate pfSense CE 2.4.4-RELEASEn/a

Timeline

  1. Publicly disclosed

    Dec 3, 2018

  2. Last updated

    Nov 21, 2024

Weakness Type

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

FAQ

Common Questions.

Is CVE-2018-4021 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 5, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.