CVE-2024-21878

Command Injection through Unsafe File Name Evaluation in internal script in Enphase IQ Gateway v4.x to and including 8.x

Published Aug 10, 2024 CVSS 4.0 · 9.2 Critical EPSS 1.4% KEV · Not listed
Description
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Enphase IQ Gateway (formerly known as Envoy) allows OS Command Injection. This vulnerability is present in an internal script.This issue affects Envoy: from 4.x up to and including 8.x and is currently unpatched.

Remediation

Vendor Solution

Devices are remotely being updated by the vendor.


Vendor Workaround

It is adviced to not expose this device to untrusted network acces. In other words, make sure this decvice is not reachable from the internet, a guest network or a public network. This will ensure that the likelihood of any attacks that can get access to the OS and thus abuse this vulnerability is reduced.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-19489 Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Enphase IQ Gateway (formerly known as Envoy) allows OS Command Injection. This vulnerability is present in an internal script.This issue affects Envoy: from 4.x up to and including 8.x and is currently unpatched.
History
Type Values Removed Values Added
First Time appeared Enphase iq Gateway
Enphase iq Gateway Firmware
Weaknesses CWE-78
CPEs cpe:2.3:h:enphase:iq_gateway:-:*:*:*:*:*:*:*
cpe:2.3:o:enphase:iq_gateway_firmware:*:*:*:*:*:*:*:*
Vendors & Products Enphase iq Gateway
Enphase iq Gateway Firmware
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Enphase
Enphase envoy
CPEs cpe:2.3:h:enphase:envoy:*:*:*:*:*:*:*:*
Vendors & Products Enphase
Enphase envoy
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Enphase IQ Gateway (formerly known as Envoy) allows OS Command Injection. This vulnerability is present in an internal script.This issue affects Envoy: from 4.x up to and including 8.x and is currently unpatched.
Title Command Injection through Unsafe File Name Evaluation in internal script in Enphase IQ Gateway v4.x to and including 8.x
Weaknesses CWE-77
References
Metrics cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/S:P/AU:Y/R:I/V:C/RE:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
DIVD
Published
Updated
Mar 11, 2025, 1:38 PM
Reserved
Jan 2, 2024, 6:30 PM
Status
Analyzed
Published
Aug 12, 2024, 1:38 PM
Modified
Jun 17, 2026, 7:10 AM