CVE-2024-21878

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

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

Solution:

  • Devices are remotely being updated by the 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.

Categories

9.2
CVSS
Severity: Critical
CVSS 4.0 •
CVSS 3.1 •
EPSS 0.27%
Vendor Advisory enphase.com
Affected: Enphase Envoy
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-21878?
CVE-2024-21878 has been scored as a critical severity vulnerability.
How to fix CVE-2024-21878?
To fix CVE-2024-21878: Devices are remotely being updated by the vendor.
Is CVE-2024-21878 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-21878 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-21878?
CVE-2024-21878 affects Enphase Envoy.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.