CVE-2026-89116

OS Command Injection in Yeoman-UI / Application Wizard Extension for VS Code

Published Oct 13, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
The affected code used child_process.execSync with a shell string for generator installation and uninstallation. This allowed an attacker to execute arbitrary OS commands with the developer's privileges by manipulating the ApplicationWizard.installationLocation VS Code workspace configuration value. Because the value was passed directly to the shell without sanitisation, a malicious workspace repository could craft a settings.json that injects OS commands when a developer opens the project and triggers a generator installation.

Analysis

AI-generated

Technical impact

The vulnerability arises from the Yeoman-UI / Application Wizard Extension for VS Code using node’s child_process.execSync with a shell string that directly incorporates the ApplicationWizard.installationLocation configuration from a workspace’s settings.json. Because the value is passed to the shell without sanitisation, a malicious settings.json can inject arbitrary OS commands. Consequently, when a developer opens the malicious project and a generator installation is triggered, the injected commands execute with the developer’s privileges. This allows an attacker to run any commands on the developer’s system, effectively achieving remote code execution on a local machine.

Affected Systems

SAP Yeoman‑UI extension for Visual Studio Code is affected. No specific version information is provided; the vulnerability may exist in any release that contains the vulnerable execSync call.

Risk and Exploitability

The CVSS score is 5.9, indicating moderate severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. Because the attack requires a malicious workspace repository that the developer opens, the vector is local and depends on the developer manually loading an untrusted extension configuration. If a user opens such a repository, the attacker can inject and run arbitrary OS commands. The lack of remote network entry means the risk is confined to environments where the VS Code extension runs.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Review and install the latest update of the Yeoman‑UI extension from SAP that removes the unsanitised execSync usage; no known patch is listed in the data but vendor updates are expected.
  • If an update is not yet available, disable or uninstall the Yeoman‑UI extension until a securely patched version is released, or configure the ApplicationWizard.installationLocation setting to a fixed, safe path that cannot be altered by untrusted code.
  • Before opening a new workspace, examine the settings.json file for suspicious command injections and refuse to load repositories with unverified or unfamiliar configuration files.

Generated by OpenCVE AI on October 13, 2026 at 03:01 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': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sap Se
Sap Se sap Yeoman-ui
Vendors & Products Sap Se
Sap Se sap Yeoman-ui
Type Values Removed Values Added
Description The affected code used child_process.execSync with a shell string for generator installation and uninstallation. This allowed an attacker to execute arbitrary OS commands with the developer's privileges by manipulating the ApplicationWizard.installationLocation VS Code workspace configuration value. Because the value was passed directly to the shell without sanitisation, a malicious workspace repository could craft a settings.json that injects OS commands when a developer opens the project and triggers a generator installation.
Title OS Command Injection in Yeoman-UI / Application Wizard Extension for VS Code
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
sap
Published
Updated
Oct 13, 2026, 1:28 PM
Reserved
Sep 10, 2026, 10:25 PM
Status
Awaiting Analysis
Published
Oct 13, 2026, 1:16 AM
Modified
Oct 15, 2026, 8:38 PM