Vulnerability in Red Hat Openshift Dev Spaces
CVE-2026-12856
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 · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 46.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-12856 (Mitigation, vdb-entry, Vendor Advisory)
- RHBZ#2491278 (issue-tracking, Issue Tracking, Vendor Advisory)
- github.com/redhat-developer/vscode-java/security/advisories/GHSA-7qv8-6qrw-3crv (Broken Link)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12856.json (Vendor Advisory)
- RHSA-2026:36820 (vendor-advisory)