CVE-2026-16801

Code Injection via Unescaped Variable Values in PowerShell Universal

Published Jul 24, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
Improper control of generation of code ('Code Injection') in the variables feature in Devolutions PowerShell Universal 2026.2.2 and earlier allows an authenticated user with variable write permission to execute arbitrary PowerShell code via a crafted variable value that is not properly escaped when written to the variables configuration file.

Analysis

AI-generated

Technical impact

An authenticated user with permission to write variables can supply a crafted variable that is not properly escaped, enabling the injection of arbitrary PowerShell code into the configuration file. The flaw falls under Code Injection (CWE‑94) and permits an attacker to execute any PowerShell commands on the host, risking total compromise of confidentiality, integrity, and availability.

Affected Systems

Devolutions PowerShell Universal releases 2026.2.2 and earlier are affected. Users running these versions should verify that they are not exposed to unauthorized modification of variables.

Risk and Exploitability

The EPSS score of less than 1% suggests a very low probability of exploitation at present, and the vulnerability is not included in the CISA KEV catalog. However, the flaw provides a direct path to arbitrary code execution for any authenticated user with write rights to variables, and based on the description, it is inferred that only credentials and write permission are required for exploitation, with no additional network exposure necessary. The CVSS score of 8.8 reflects a high severity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a version newer than 2026.2.2 or apply the vendor’s patch to address the code‑generation flaw.
  • Restrict variable write permissions to trusted accounts or enforce a principle of least privilege for users who can modify variables.
  • Audit the variables configuration file for unexpected PowerShell code and monitor for anomalous script execution to detect potential abuse.

Generated by OpenCVE AI on August 12, 2026 at 01:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Code Injection via Unescaped Variable Values in PowerShell Universal
Type Values Removed Values Added
Title Variable-Based PowerShell Injection Enables Remote Code Execution in Devolutions PowerShell Universal
Type Values Removed Values Added
Title Variable-Based PowerShell Injection Enables Remote Code Execution in Devolutions PowerShell Universal
Type Values Removed Values Added
Title Improper Variable Escaping Enables Arbitrary PowerShell Execution in Devolutions PowerShell Universal
Type Values Removed Values Added
Title Improper Variable Escaping Enables Arbitrary PowerShell Execution in Devolutions PowerShell Universal
Type Values Removed Values Added
First Time appeared Devolutions
Devolutions powershell Universal
Vendors & Products Devolutions
Devolutions powershell Universal
Type Values Removed Values Added
Description Improper control of generation of code ('Code Injection') in the variables feature in Devolutions PowerShell Universal 2026.2.2 and earlier allows an authenticated user with variable write permission to execute arbitrary PowerShell code via a crafted variable value that is not properly escaped when written to the variables configuration file.
Weaknesses CWE-94
References
Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
DEVOLUTIONS
Published
Updated
Jul 24, 2026, 5:40 PM
Reserved
Jul 23, 2026, 7:25 PM
Status
Analyzed
Published
Jul 24, 2026, 3:17 PM
Modified
Oct 24, 2026, 1:10 PM