# CVE-2021-31838: Command injection through environment variable in MVISION EDR

- Severity: High 8.4 (CVSS:3.1, scored by trellix) `CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.09%, higher than 82% of CVEs (2026-12-01)
- Published: 2021-06-29T09:45:11.000Z
- Modified: 2026-06-17T03:52:19.520Z
- Weaknesses: CWE-78
- Assigned by: trellix

## Description

A command injection vulnerability in MVISION EDR (MVEDR) prior to 3.4.0 allows an authenticated MVEDR administrator to trigger the EDR client to execute arbitrary commands through PowerShell using the EDR functionality 'execute reaction'.

(As written by CVE List.)

## Affected

- McAfee,LLC MVISION EDR: from unspecified before 3.4.0
- mcafee mvision_edr: before 3.4.0

## Every score

- trellix: CVSS:3.1 8.4 High `CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://kc.mcafee.com/corporate/index?page=content&id=SB10342>

## Sources

- CVE List: [CVE-2021-31838](https://www.cve.org/CVERecord?id=CVE-2021-31838), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31838](https://nvd.nist.gov/vuln/detail/CVE-2021-31838), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31838 · Whole record: https://cve.day/CVE-2021-31838.json · Rebuilt by cve.day 2026-11-25T22:58:02.362Z
