Skip to content
OpenAdvisories
High · 8.8 CVE-2026-12856 EUVD-2026-40084GHSA-7vqr-7r5j-c84j

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

Published Jun 29, 2026 · Updated Jul 15, 2026 · Assigned by redhat

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

VendorProductAffectedFixed
Red Hat Red Hat OpenShift Dev Spaces 3.29 — —

References