CVE-2026-42850
published high CVSS 4.0 · 7.4Kitty has a shell command injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| kovidgoyal | — | kitty< 0.47.0 | Affected | Not stated | GitHub_M |
| Debian | bookworm | kitty | Advisory build | 0.26.5-5+deb12u1 | DLA-4928-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | kittyaarch64 | Advisory build | 0.48.2-bp160.1.1 | OPENSUSE-SU-2026:21599-1 |
| Ubuntu | noble | kitty | Advisory build | 0.32.2-1ubuntu0.4+esm2 | USN-8763-1 |
| Debian | trixie | kitty | Advisory build | 0.41.1-2+deb13u2 | DSA-6423-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | kittyppc64le | Advisory build | 0.48.2-bp160.1.1 | OPENSUSE-SU-2026:21599-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | kittys390x | Advisory build | 0.48.2-bp160.1.1 | OPENSUSE-SU-2026:21599-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | kittyx86_64 | Advisory build | 0.48.2-bp160.1.1 | OPENSUSE-SU-2026:21599-1 |
Show 10 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | resolute | kitty | Advisory build | 0.45.0-1ubuntu0.1~esm2 | USN-8763-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | kitty-shell-integrationaarch64 | Advisory build | 0.48.2-bp160.1.1 | OPENSUSE-SU-2026:21599-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | kitty-shell-integrationppc64le | Advisory build | 0.48.2-bp160.1.1 | OPENSUSE-SU-2026:21599-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | kitty-shell-integrations390x | Advisory build | 0.48.2-bp160.1.1 | OPENSUSE-SU-2026:21599-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | kitty-shell-integrationx86_64 | Advisory build | 0.48.2-bp160.1.1 | OPENSUSE-SU-2026:21599-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | kitty-terminfonoarch | Advisory build | 0.48.2-bp160.1.1 | OPENSUSE-SU-2026:21599-1 |
| Ubuntu | noble | kitty-shell-integration | Advisory build | 0.32.2-1ubuntu0.4+esm2 | USN-8763-1 |
| Ubuntu | noble | kitty-terminfo | Advisory build | 0.32.2-1ubuntu0.4+esm2 | USN-8763-1 |
| Ubuntu | resolute | kitty-shell-integration | Advisory build | 0.45.0-1ubuntu0.1~esm2 | USN-8763-1 |
| Ubuntu | resolute | kitty-terminfo | Advisory build | 0.45.0-1ubuntu0.1~esm2 | USN-8763-1 |
Description
Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.0, it is possible to inject commands within the subshell through kitty error. A special escape code will make kitty return an error, this error is not escaped and will be correctly echoed back to the terminal with CRLF, as such it will be run by the shell in use. To exploit this bug, the victim must use a netcat or a similar program to connect to the attacker, or else listening for someone to connect. Once this condition is set, an attacker could pwn the computer of the victim using a special kitty's escape code that will run a command in the shell in use. Version 04.7.0 fixes the issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| kovidgoyal | kitty | < 0.47.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
1Provider assertions
2GitHub_M · cna
Kitty has a shell command injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b22eda42473b63cdb5ff5ff6fea2cd04f138d6a6f73513723dd26ceee1ce4b27
- Ingested
- 23 Sep 2026, 09:14:19 UTC
- Source record
- Official CVE record