8.8High

CVE-2026-12856Vscode-java: vscode: command injection vulnerability in the javadoc hover provider of the vscode-java extension

Red Hat Red Hat OpenShift Dev Spaces 3.29 Published: (4 months ago)

Description

A flaw was found in the vscode-java extension, which provides Java language support for Visual Studio Code. The extension incorrectly trusts all Markdown content in JavaDoc hovers, allowing a malicious Java file to include hidden commands. If a user clicks a specially crafted link within a JavaDoc hover popup, an attacker can execute arbitrary VS Code commands, which can lead to full system compromise in trusted workspaces.

Weakness (CWE): CWE-88

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
openshift devspaces 3.29 —
redhat openshift dev spaces —
Red Hat Red Hat OpenShift Dev Spaces 3.29 all versions

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:redhat:openshift_dev_spaces:-:*:*:*:*:*:*:*