Home / Enphase / Envoy / CVE-2024-21877
CVE-2024-21877: is it exploited, and which versions of Enphase Envoy are affected and fixed?
CVE-2024-21877 is a path traversal (reading or writing files outside the intended folder) vulnerability in Enphase Envoy. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: Envoy from 8.0 before 8.2.4225, Envoy 7.x, Envoy 6.x and 2 more (CVE record by DIVD). Fixed in 8.2.4225 (CVE record by DIVD). Severity: High (8.6, CVSS 4.0, from DIVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:27 UTC.
What is CVE-2024-21877?
Insecure File Generation Based on User Input in Enphase IQ Gateway version 4.x to 8.x and < 8.2.4225
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability through a url parameter in Enphase IQ Gateway (formerly known as Envoy) allows File Manipulation. The endpoint requires authentication.This issue affects Envoy: from 4.x to 8.0 and < 8.2.4225.
From the CVE record by DIVD, last updated March 11, 2025, 13:38 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Enphase | Envoy | from 8.0 before 8.2.4225 7.x 6.x 5.x 4.x | 8.2.4225 |
As the CVE record by DIVD states it, last updated March 11, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| enphase | iq gateway firmware | from 4.0 before 8.2.4225 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:10 UTC.
How severe is CVE-2024-21877?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.6 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/S:N/AU:Y/V:D/RE:H | DIVD |
| Critical 9.2 | CVSS 4.0 | 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 | DIVD |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-21877 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, August 12, 2024)
- EPSS
- 0.79% probability of exploitation activity in the next 30 days, percentile 57.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
How do I fix it? (from the CVE record)
Devices are remotely being updated by the vendor.
Is there a workaround? (from the CVE record)
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.
Where are the vendor advisories and references?
- https://csirt.divd.nl/CVE-2024-21877 third-party-advisory
- https://csirt.divd.nl/DIVD-2024-00011 related
- https://enphase.com/cybersecurity/advisories/ensa-2024-2 vendor-advisory
Who found and reported it?
- Wietse Boonstra (DIVD) (finder)
- Hidde Smit (DIVD) (finder)
- Frank Breedijk (DIVD) (analyst)
- Max van der Horst (DIVD) (analyst)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 2, 2024
- Published
- August 10, 2024, 17:44 UTC
- CVE record updated
- March 11, 2025, 13:38 UTC by DIVD
- NVD
- Analyzed, last modified June 17, 2026, 07:10 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:27 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Envoy?
- Aug 10, 2024CVE-2024-21879 Enphase Envoy: command injection
- Aug 10, 2024CVE-2024-21881 Enphase Envoy: weak encryption
- Aug 10, 2024CVE-2024-21880 Enphase Envoy: command injection
- Aug 10, 2024CVE-2024-21878 Enphase Envoy: command injection
- Jun 20, 2023CVE-2023-33869 Enphase Envoy: OS command injection
- Feb 9, 2019CVE-2019-7678 Enphase Envoy: path traversal (reading or writing files outside the intended folder)
- Feb 9, 2019CVE-2019-7677 Enphase Envoy: cross-site scripting (XSS)
- Feb 9, 2019CVE-2019-7676 Enphase Envoy: weak password requirements
Questions about CVE-2024-21877
Is CVE-2024-21877 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.79% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Enphase Envoy are affected by CVE-2024-21877?
Envoy from 8.0 before 8.2.4225, Envoy 7.x, Envoy 6.x, Envoy 5.x and Envoy 4.x, per the CVE record by DIVD. The tables above give every range the sources list.
Which version fixes CVE-2024-21877?
8.2.4225, per the CVE record by DIVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-21877?
High (8.6, CVSS 4.0, from DIVD). The severity table above shows each score with its source.
Where is the official record of CVE-2024-21877?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.