High severity8.8NVD Advisory· Published Jun 29, 2026· Updated Jul 15, 2026
CVE-2026-12856
CVE-2026-12856
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.
Affected products
3- cpe:2.3:a:redhat:openshift_dev_spaces:-:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
5- access.redhat.com/security/cve/CVE-2026-12856nvdMitigationVendor Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingVendor Advisory
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12856.jsonnvdVendor Advisory
- github.com/redhat-developer/vscode-java/security/advisories/GHSA-7qv8-6qrw-3crvnvdBroken Link
- access.redhat.com/errata/RHSA-2026:36820nvd
News mentions
0No linked articles in our index yet.