CVE-2026-12856
CVE-2026-12856 — Vscode-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 Updated Sources: cvelistV5, redhat
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
8.8
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.8 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-88
References
5 on the record
- access.redhat.com/errata/RHSA-2026:36820
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/security/cve/CVE-2026-12856
vdb-entry, x_refsource_REDHAT
- bugzilla.redhat.com/show_bug.cgi?id=2491278
issue-tracking, x_refsource_REDHAT
- github.com/redhat-developer/vscode-java/security/advisories/GHSA-7qv8-6qrw-3crv
reference
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12856.json
x_sadp-csaf-vex
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-86060 SSH session privilege manipulation via a crafted username in Mikrotik RouterOSCVSS 9.8 · CISA KEV
- CVE-2026-24061 GNU InetUtils Argument Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2020-12641 Roundcube Webmail Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2016-10033 PHPMailer Command Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2022-36804 Atlassian Bitbucket Server and Data Center Command Injection VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2024-41710 Mitel SIP Phones Argument Injection VulnerabilityCVSS 7.2 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.