Skip to content

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

HighCVSS 8.8 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Red Hat

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.

Upgrade path

3 packages: 1 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
redhat openshift dev spaces All versions No fix listed No fix yet
redhat/devspaces/pluginregistry-rhel9:1782989367(Red Hat openshift_devspaces 3.29 el9) All versions No fix listed No fix yet
redhat openshift devspaces < 1782989367 1782989367 Fixed

Affected products

ProductAffected versionsFixed in
redhat openshift devspaces < 1782989367 1782989367
redhat/devspaces/pluginregistry-rhel9:1782989367(Red Hat:openshift_devspaces:3.29::el9) All versions No fix listed
redhat openshift dev spaces All versions No fix listed

References