CVE-2026-41253: iTerm2 - Code Execution
- Cve: CVE-2026-41253
- Name: iTerm2 - Code Execution
- Description: In iTerm2 through 3.6.9, displaying a .txt file can cause code execution via DCS 2000p and OSC 135 data, if the working directory contains a malicious file whose name is valid output from the conductor encoding path, such as a pathname with an initial ace/c+ substring, aka "hypothetical in-band signaling abuse." This occurs because iTerm2 accepts the SSH conductor protocol from terminal output that does not originate from a legitimate conductor session.
- Impact: Attackers can execute arbitrary code by tricking iTerm2 into processing crafted terminal output and malicious file names.
- Remediation: Update to the latest version beyond 3.6.9.
- Vulnerability impact: remote_code_execution
- Requirements: Attacker must place a malicious file with a crafted name in the working directory
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00202
- Epss percentile: 0.10122
- Assignee: [email protected]
- Published at: 2026-04-18T06:16:17Z
- Age in days: 220
- Modified at: 2026-06-17T10:46:23Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-41253
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://blog.calif.io/p/mad-bugs-even-cat-readmetxt-is-not | nvd | 2026-04-18 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/gnachman/iTerm2/commit/a9e745993c2e2cbb30b884a16617cd5495899f86 | Patch |
| https://blog.calif.io/p/mad-bugs-even-cat-readmetxt-is-not | Exploit, Third Party Advisory |
| https://news.ycombinator.com/item?id=47809190 | Issue Tracking |
| https://iterm2.com/downloads.html | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| iterm2:iterm2 | <= 3.6.9 | no | nvd | /v1/products/iterm2/iterm2 |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| gnachman/iTerm2 | commit, fix | yes | /v1/repositories/gnachman/iTerm2 |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-04-18
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts