CVE-2026-12856

HIGH

Red Hat OpenShift Dev Spaces vscode-java Javadoc Hover - Command Injection

Title source: manual
STIX 2.1

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.

References (5)

Core 5
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-12856
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2491278
https://bugzilla.redhat.com/show_bug.cgi?id=2491278
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:36820
https://access.redhat.com/errata/RHSA-2026:36820

Scores

CVSS v3 8.8
EPSS 0.0029
EPSS Percentile 21.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-88
Status published
Products (3)
Red Hat/Red Hat OpenShift Dev Spaces
Red Hat/Red Hat OpenShift Dev Spaces 3.29 1782989367
redhat/openshift_dev_spaces
Published Jun 29, 2026
Tracked Since Jun 29, 2026