CVE-2026-12856

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductRedhat Openshift Dev Spaces
PublishedJun 29, 2026
First seenJun 29, 2026
Weakness typeCWE-88CWE-88

How to fix

Affected products

ProductAffected versionsFixed in
redhat openshift_dev_spacesNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.