LiveActive security incident?Get immediate response
CVE Record

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

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'.

HighCVSS 8.4Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-31838 lets a logged-in MVISION EDR administrator cause an EDR client to run arbitrary PowerShell commands through the product's execute reaction feature. Business risk is high where older MVISION EDR is deployed, because endpoint compromise can affect confidentiality, integrity, and availability.

Executive priority

Prioritize remediation where MVISION EDR protects high-value endpoints or where administrator credentials may be exposed. The privilege requirement lowers internet-scale risk, but successful abuse could give command execution on endpoints through trusted security tooling.

Technical view

The issue is CWE-78 command injection in MVISION EDR before 3.4.0. The CVSS 3.1 score is 8.4 with high confidentiality, integrity, and availability impact, changed scope, low complexity, no user interaction, and high privileges required.

Likely exposure

Exposure is likely limited to organizations running MVISION EDR versions before 3.4.0 where authenticated MVEDR administrators can use execute reaction. The source bundle does not provide exact affected build ranges beyond prior to 3.4.0.

Exploitation context

The provided sources do not show active exploitation, and this CVE is not listed as KEV in the bundle. Exploitation requires authenticated MVEDR administrator privileges, reducing broad opportunistic risk but increasing insider or credential-compromise concern.

Researcher notes

Evidence is sparse but clear on the core flaw: command injection via execute reaction leading to arbitrary PowerShell execution. Do not assume unauthenticated or remote internet exploitation from the available sources. Version precision is limited to MVISION EDR prior to 3.4.0.

Mitigation direction

  • Inventory MVISION EDR deployments and identify versions below 3.4.0.
  • Upgrade MVISION EDR to 3.4.0 or later following vendor guidance.
  • Restrict MVEDR administrator access to trusted, necessary personnel only.
  • Review execute reaction usage and PowerShell execution logs for suspicious activity.

Validation and detection

  • Confirm MVISION EDR server and client versions in all managed environments.
  • Verify who has MVEDR administrator privileges and execute reaction access.
  • Review EDR audit logs for unexpected execute reaction activity.
  • Check endpoint telemetry for unusual PowerShell activity tied to EDR operations.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-78: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-31838 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.4 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.4CVSS 3.1HighCVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H1.76Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.4High
CVSS 3.1 vector shape for CVE-2021-31838Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
McAfee,LLCMVISION EDRunspecifiedunaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-78 · source CWE mapping

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.