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.
CVE-2026-12856
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-06-29. a secondary CVSS source baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(high)
- EPSS
- 21.5%
- KEV
- Not listed
Published
June 29, 2026
Last Modified
June 30, 2026
Advisory Details (2)
Auto-updated Jun 29, 20262491278 – (CVE-2026-12856) CVE-2026-12856 vscode-java: vscode: Command Injection vulnerability in the JavaDoc hover provider of the vscode-java extension
https://bugzilla.redhat.com/show_bug.cgi?id=2491278Vendor Advisories for CVE-2026-12856(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 36× in last 7d / 40× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 03:56 UTCEG score recompute
- 2026-07-07 03:56 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 15:39 UTCEG score recompute
- 2026-07-06 15:39 UTCGHSA enrichment
- 2026-07-06 03:30 UTCEG score recompute
- 2026-07-06 03:30 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 15:14 UTCEG score recompute
- 2026-07-05 15:14 UTCGHSA enrichment
- 2026-07-05 03:06 UTCEG score recompute
- 2026-07-05 03:06 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 14:59 UTCEG score recompute
- 2026-07-04 14:58 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 02:50 UTCEG score recompute
- 2026-07-04 02:50 UTCGHSA enrichment
- 2026-07-03 14:40 UTCEG score recompute
- 2026-07-03 14:40 UTCGHSA enrichment
- 2026-07-03 02:31 UTCEG score recompute
- 2026-07-03 02:31 UTCGHSA enrichment
- 2026-07-02 14:23 UTCEG score recompute
- 2026-07-02 14:23 UTCGHSA enrichment
Show 15 moreShow fewer
- 2026-07-02 02:15 UTCEG score recompute
- 2026-07-02 02:15 UTCGHSA enrichment
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 14:06 UTCEG score recompute
- 2026-07-01 14:06 UTCGHSA enrichment
- 2026-07-01 01:58 UTCEG score recompute
- 2026-07-01 01:58 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 13:49 UTCEG score recompute
- 2026-06-30 13:49 UTCGHSA enrichment
- 2026-06-30 01:41 UTCEG score recompute
- 2026-06-30 01:41 UTCGHSA enrichment
- 2026-06-29 13:33 UTCEG score recompute
- 2026-06-29 13:32 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-12856?
When was CVE-2026-12856 disclosed?
Is CVE-2026-12856 actively exploited?
What is the CVSS score of CVE-2026-12856?
How do I remediate CVE-2026-12856?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-12856
Is Your Infrastructure Affected by CVE-2026-12856?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.