Critical IntelliJ IDEA Path Traversal Flaw Enables Code Execution

JetBrains has patched a critical path traversal vulnerability in IntelliJ IDEA that allows attackers to achieve arbitrary code execution simply by tricking a developer into opening a maliciously crafted project.

Tracked as CVE-2026-59792, the flaw carries a CVSS score of 9.6 and was disclosed on July 10, 2026, alongside a broader batch of security fixes covering IntelliJ IDEA and TeamCity.

The vulnerability stems from improper canonicalization of project workspace identifiers, allowing an attacker to embed “../” directory traversal sequences that bypass the IDE’s path validation logic.

Critical IntelliJ IDEA Path Traversal Flaw

Because IntelliJ IDEA processes workspace IDs before establishing project trust, a specially crafted project can write or execute files outside its intended sandboxed directory the moment it is opened, converting a routine “open project” action into full code execution on the developer’s machine.

Security researcher Antoni Tremblay is credited with reporting the issue under internal tracker IJPL-247564.

Notably, this flaw does not require any prior authentication or privilege on the target system, making it particularly dangerous in supply-chain-style attacks where malicious repositories or shared projects are distributed to developers.

The path traversal bug was disclosed as part of a larger JetBrains security update affecting both IntelliJ IDEA and TeamCity, spanning issues from HTML injection to authentication bypasses in remote development sessions.

JetBrains notes that while no active exploitation has been confirmed in the wild yet, the critical severity and ease of triggering the bug make rapid proof-of-concept development likely.

ProductVulnerabilityAffected VersionCVE
IntelliJ IDEAHTML injection in IDE notification enabling silent activity tracking (IJPL-247812)2026.2CVE-2026-64810
IntelliJ IDEAArbitrary code execution before project trust granted, via dev container config (IJPL-245832)2026.2CVE-2026-64811
IntelliJ IDEAUnauthorized input injection in a Remote Development session (IJPL-245951)2026.2CVE-2026-64812
IntelliJ IDEAUnauthorized settings modification in a Remote Development session (IJPL-245849)2026.2CVE-2026-64813
IntelliJ IDEAUnauthorized file access in a Remote Development session (IJPL-245848)2026.2CVE-2026-64814
IntelliJ IDEAArbitrary code injection via UI Designer form files (IDEA-387168)2026.2CVE-2026-64815
IntelliJ IDEACode execution via path traversal in project workspace ID handling; reported by Antoni Tremblay (IJPL-247564)2026.1.4, 2026.2CVE-2026-59792
TeamCityArbitrary file access via Perforce VCS integration; reported by @maple3142 (TW-101382)2026.1.2CVE-2026-59793
TeamCityStored XSS on cloud profile page via agent-reported data (TW-101576)2026.1.2CVE-2026-59794
TeamCityStored XSS via unauthenticated agent registration; reported by Joakim Bulow (TW-101494)2026.1.2CVE-2026-59795
TeamCityPipeline modification via improper permission checks; reported by Alwion (TW-101629)2026.1.2CVE-2026-59796

Mitigation

JetBrains urges all developers to update IntelliJ IDEA to version 2026.1.4 or later, or 2026.2 with the latest patches applied, using the Toolbox App, built-in IDE updater, or direct download from the JetBrains website.

TeamCity administrators should similarly upgrade to 2026.1.2 or later to close the Perforce integration and XSS gaps.

Until patches are applied, organizations should treat unverified or third-party project files with caution and avoid opening them in vulnerable IDE versions, given how easily the workspace ID flaw can be triggered.

Cut SOC investigation blind spots and contain threats earlier to reduce response costs and business disruption with ANY.RUN. 

Tamilselvan
Tamilselvanhttps://cyberpress.org/
Tamilselvan is an Investigative cybersecurity journalist dedicated to breaking stories on ransomware cartels, data breaches, and state-sponsored espionage.

Trending News

Related Stories