Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

JetBrains CLion Safe Mode Code Execution via JSON Compilation Database (CVE-2026-123832)

CVE-2026-123832 is a flaw in JetBrains CLion where opening a project in Safe Mode still allowed code execution, this time through a JSON compilation database.

Published
Reading Time
3 min read
Dark glass document preview scanner with red neon lines and a loose instruction slip, cover art for: JetBrains CLion Safe Mode Code Execution via JSON Compilation Database (CVE-2026-123832)

The usual path is a CMake, Gradle or Makefile build. JetBrains' own fixed-issues page rates it Critical and resolved it in CLion 2026.2. NVD and the CVE record, assigned by JetBrains as the CNA, score it CVSS 3.1 9.6 Critical; no CVSS 4.0 score is in either record.

What it allows

CVE-2026-123832 sits in how CLion handles a project opened from a JSON compilation database instead of a CMake, Gradle or Makefile build. JetBrains' fixed-issues page says code execution was possible in Safe Mode through this path, even though Safe Mode exists to block exactly that kind of execution.

How CVE-2026-123832 Reached a 9.6 Severity Score

The CVE record and NVD score CVE-2026-123832 CVSS 3.1 9.6 Critical, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H. NVD lists JetBrains' score as a secondary source, and neither record carries a CVSS 4.0 score.

JetBrains assigned CWE-829, inclusion of functionality from an untrusted control sphere, the same weakness class as the sibling flaw CVE-2026-123831. JetBrains' fixed-issues page does not describe which part of a compilation database project bypassed Safe Mode beyond its one-line entry.

What a JSON Compilation Database Project Is

JetBrains' own CLion documentation describes a compilation database as a way to open a project that is not based on CMake, Gradle or Makefiles. The project supplies a file named compile_commands.json. It lists, for every source file, the working directory, the compiler command and the file itself. CLion reads this to get compiler information without a build system.

Is This the Same Flaw as CVE-2026-123831?

No. JetBrains tracks CVE-2026-123832 and CVE-2026-123831 as two separate entries on its fixed-issues page. CVE-2026-123832 is the JSON compilation database vector, resolved in CLion 2026.2 only. CVE-2026-123831 is the Meson project settings vector, resolved in CLion 2026.2 and 2026.1.4.

A different JetBrains IDE had a separate untrusted-project code execution issue the same week. NVD describes CVE-2026-123837 as command injection in untrusted IntelliJ IDEA projects through Tomcat run configurations on WSL, fixed in IntelliJ IDEA 2026.3 and 2026.2.1.

What CISA's Vulnrichment Assessment Says

CISA's Vulnrichment program, acting as an ADP on the CVE record, lists this flaw's exploitation status as none and its automatability as no. As of CISA's Known Exploited Vulnerabilities catalog version 2026.11.06, the CVE is not listed there.

Who is affected

JetBrains' own fixed-issues page lists CVE-2026-123832 as resolved in CLion 2026.2, tracked internally as CPP-50449. The CVE record and NVD state the affected range as CLion before 2026.2.

JetBrains' Project security documentation describes Safe Mode as a general protection against remote code execution from an unfamiliar project. A project opened for the first time shows a Trust dialog. Choosing Safe Mode then lets a developer browse source without running build scripts, startup tasks or other scripted actions. This flaw is one case where that protection did not hold for a compilation database project.

A CLion project supplied as a compilation database by a client, a contractor or an outside contributor falls into this same unfamiliar-project category. JetBrains' own documentation describes that population as the one Safe Mode exists to protect.

Timeline

  1. 4 Nov 2026

    JetBrains' Project security help page, which documents the general Safe Mode mechanism this flaw bypasses, shows a last-modified date of 4 November 2026.

  2. 6 Nov 2026

    JetBrains publishes the CVE record for CVE-2026-123832 and NVD publishes its entry, both naming CLion 2026.2 as the fix.

What to do

  1. Update CLion to 2026.2 or Later

    Move every CLion installation to 2026.2 or newer, as JetBrains' fixed-issues page lists 2026.2 as the resolved version for CVE-2026-123832.

  2. Treat Compilation Database Projects as Untrusted by Default

    We recommend opening a compilation database project from an unknown source in Safe Mode first, the same as a CMake, Gradle or Makefile project, before trusting it.

  3. Review Trusted Locations and Headless Launches

    JetBrains' help page says a trusted directory loads automatically and a headless command-line launch opens a project in trusted mode by default. We recommend checking both for unreviewed sources.

  4. Track CVE-2026-123832 Separately From Its Sibling

    JetBrains lists CVE-2026-123831 as fixed in 2026.2 and 2026.1.4, but CVE-2026-123832 only in 2026.2. Confirm both fixes on any CLion branch your team still runs.

Frequently Asked Questions

Which CLion versions fix CVE-2026-123832?

JetBrains' fixed-issues page lists 2026.2 as the resolved version.

What is a JSON compilation database project in CLion?

JetBrains' own documentation describes it as a way to open a non-CMake, non-Gradle, non-Makefile project using a compile_commands.json file.

Is CVE-2026-123832 the same flaw as CVE-2026-123831?

No. CVE-2026-123832 is the JSON compilation database vector, fixed in 2026.2 only. CVE-2026-123831 is the Meson settings vector, fixed in 2026.2 and 2026.1.4.

Is CVE-2026-123832 in the CISA KEV catalog?

It is not in catalog version 2026.11.06. CISA's Vulnrichment assessment on the CVE record lists exploitation as none.

Sources

  1. CVE-2026-123832 RecordCVE Program / JetBrains CNA
  2. CVE-2026-123832NVD
  3. Fixed security issuesJetBrains
  4. Project security (CLion help)JetBrains
  5. Compilation database (CLion help)JetBrains
  6. Known Exploited Vulnerabilities CatalogCISA
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →