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
| Link | Resource |
|---|---|
| https://access.redhat.com/errata/RHSA-2026:36820 | |
| https://access.redhat.com/security/cve/CVE-2026-12856 | Mitigation Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2491278 | Issue Tracking Vendor Advisory |
| https://github.com/redhat-developer/vscode-java/security/advisories/GHSA-7qv8-6qrw-3crv | Broken Link |
| https://access.redhat.com/errata/RHSA-2026:36820 | |
| https://access.redhat.com/security/cve/CVE-2026-12856 | Mitigation Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2491278 | Issue Tracking Vendor Advisory |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12856.json | Vendor Advisory |
Configurations
History
09 Jul 2026, 13:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://access.redhat.com/errata/RHSA-2026:36820 - |
08 Jul 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
08 Jul 2026, 03:35
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:redhat:openshift_dev_spaces:-:*:*:*:*:*:*:* | |
| First Time |
Redhat openshift Dev Spaces
Redhat |
|
| References | () https://access.redhat.com/security/cve/CVE-2026-12856 - Mitigation, Vendor Advisory | |
| References | () https://bugzilla.redhat.com/show_bug.cgi?id=2491278 - Issue Tracking, Vendor Advisory | |
| References | () https://github.com/redhat-developer/vscode-java/security/advisories/GHSA-7qv8-6qrw-3crv - Broken Link | |
| References | () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12856.json - Vendor Advisory |
30 Jun 2026, 03:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
|
| References | () https://access.redhat.com/security/cve/CVE-2026-12856 - | |
| References | () https://bugzilla.redhat.com/show_bug.cgi?id=2491278 - |
29 Jun 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-29 14:16
Updated : 2026-07-15 02:18
NVD link : CVE-2026-12856
Mitre link : CVE-2026-12856
CVE.ORG link : CVE-2026-12856
JSON object : View
Products Affected
redhat
- openshift_dev_spaces
CWE
CWE-88
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
