CVE-2026-12856
HIGH 8.8CVSS 3.1Vscode-java: vscode: command injection vulnerability in the javadoc hover provider of the vscode-java extension
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.
- Published
- 29 Jun 2026
- Last modified
- 26 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-88
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CVE List | redhat | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CVE List | redhat-SADP | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | openshift_dev_spacescpe:2.3:a:redhat:openshift_dev_spaces:-:*:*:*:*:*:*:* |
(no version) | |
| CVE List | https://catalog.redhat.com/software/containers/ | devspaces/pluginregistry-rhel9cpe:/a:redhat:openshift_devspaces:3.29::el9 |
all versions |
References
- https://access.redhat.com/errata/RHSA-2026:36820 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-12856 · Mitigation, Vendor Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2491278 · Issue Tracking, Vendor Advisory, issue-tracking, x_refsource_REDHAT
- https://github.com/redhat-developer/vscode-java/security/advisories/GHSA-7qv8-6qrw-3crv · Broken Link
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12856.json · Vendor Advisory, x_sadp-csaf-vex
History
- 26 Nov 2026 14:16 UTC · CVE List: first stored (published 29 Jun 2026)
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 29 Jun 2026)