{"id":"CVE-2024-21878","aliases":["CVE-2024-21878"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection through Unsafe File Name Evaluation in internal script in Enphase IQ Gateway v4.x to and including 8.x","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La neutralización inadecuada de elementos especiales utilizados en una vulnerabilidad de comando (\"Inyección de comando\") en Enphase IQ Gateway (anteriormente conocido como Envoy) permite la inyección de comando del sistema operativo. Esta vulnerabilidad está presente en un script interno. Este problema afecta a Envoy: desde 4.x hasta 8.x inclusive y actualmente no está parcheado.","source":"nvd"}],"published":"2024-08-10T17:44:48.892Z","modified":"2026-06-17T07:10:19.647Z","severity":{"scorer":"DIVD","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/S:P/AU:Y/R:I/V:C/RE:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"DIVD","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/S:P/AU:Y/R:I/V:C/RE:H","score":7.1,"rating":"HIGH"},{"scorer":"DIVD","scheme":"CVSS:4.0","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","score":9.2,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-77","CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"8.x","fixed":"8.2.4225","status":"affected"},{"type":"semver","version":"7.x","status":"affected"},{"type":"semver","version":"6.x","status":"affected"},{"type":"semver","version":"5.x","status":"affected"},{"type":"semver","version":"4.x","status":"affected"}],"vendor":"Enphase","product":"Envoy","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.0","fixed":"8.2.4225","status":"affected"}],"vendor":"enphase","product":"envoy","cpe":"cpe:2.3:h:enphase:envoy:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.0","fixed":"8.2.4225"}],"vendor":"enphase","product":"iq_gateway_firmware","cpe":"cpe:2.3:o:enphase:iq_gateway_firmware:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://csirt.divd.nl/CVE-2024-21878","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://csirt.divd.nl/DIVD-2024-00011","tags":["related","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://enphase.com/cybersecurity/advisories/ensa-2024-3","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Wietse Boonstra (DIVD)","Hidde Smit (DIVD)","Frank Breedijk (DIVD)","Max van der Horst (DIVD)"],"assigner":"DIVD","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-08-12T14:27:02.414Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21878","url":"https://www.cve.org/CVERecord?id=CVE-2024-21878","licence":"CVE Terms of Use","modified":"2025-03-11T13:38:31.973Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21878","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21878","licence":"Public domain","modified":"2026-06-17T07:10:19.647Z"}],"updatedAt":"2026-11-25T22:58:44.156Z","epss":{"score":0.01445,"percentile":0.74049,"date":"2026-12-01T12:00:22.000Z"}}