Skip to main content
← All vulnerabilities
CVE-2026-12856

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

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated

Affected versions

  • devspaces/pluginregistry-rhel9

    Version range not reported

References 4

access.redhat.com

bugzilla.redhat.com

GitHub · redhat-developer/vscode-java