Skip to main content

Improper Neutralization of Special Elements in Output Used by a Downstream Component in the colour control escape code handler in kitty from 0.47.3… (CVE-2026-95832)

0
Medium
Published: 09/25/2026 (09/25/2026, 13:17:00 UTC)
Source: GCVE Database
Product: kitty

Description

A vulnerability in kitty terminal versions from 0.14.3-1 through 0.48.2-1.1ubuntu1 allows arbitrary command execution in the user's shell. The issue arises from improper neutralization of special elements in output used by a downstream component in the colour control escape code handler. An attacker can craft a payload that is echoed back and interpreted as shell input, leading to command execution with the user's privileges.

CVSS v4.0

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Affected software

Ubuntu:Pro:20.04:LTSmore threats →ghsa
kitty
pkg:deb/ubuntu/kitty?arch=source&distro=esm-apps/focal
Affected versions
=0.14.3-1=0.14.4-1=0.14.6-1=0.15.0-1=0.15.0-1build1=0.15.0-1ubuntu0.2=0.15.0-1ubuntu0.2+esm1
Ubuntu:Pro:22.04:LTSmore threats →ghsa
kitty
pkg:deb/ubuntu/kitty?arch=source&distro=esm-apps/jammy
Affected versions
=0.19.3-1=0.21.2-1=0.21.2-1build1=0.21.2-1ubuntu0.22.04.1=0.21.2-1ubuntu0.22.04.1+esm1
Ubuntu:Pro:24.04:LTSmore threats →ghsa
kitty
pkg:deb/ubuntu/kitty?arch=source&distro=esm-apps/noble
Affected versions
=0.26.5-3ubuntu2=0.26.5-5ubuntu1=0.31.0-3=0.31.0-4=0.32.2-1=0.32.2-1build2=0.32.2-1build3=0.32.2-1ubuntu0.1=0.32.2-1ubuntu0.2=0.32.2-1ubuntu0.3=0.32.2-1ubuntu0.4=0.32.2-1ubuntu0.4+esm1=0.32.2-1ubuntu0.4+esm2
Ubuntu:26.10more threats →ghsa
kitty
pkg:deb/ubuntu/kitty?arch=source&distro=stonking
Affected versions
=0.45.0-1build1=0.47.0-3=0.47.4-1=0.48.2-1.1ubuntu1
Ubuntu:Pro:26.04:LTSmore threats →ghsa
kitty
pkg:deb/ubuntu/kitty?arch=source&distro=esm-apps/resolute
Affected versions
=0.41.1-2=0.43.1-1=0.44.0-1=0.45.0-1=0.45.0-1build1=0.45.0-1ubuntu0.1~esm1=0.45.0-1ubuntu0.1~esm2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 23:00:06 UTC

Technical Analysis

CVE-2026-95832 describes an improper neutralization vulnerability in kitty terminal's colour control escape code handler affecting versions from 0.14.3-1 up to 0.48.2-1.1ubuntu1. The function color_control() in kitty/window.py responds to queries for unrecognized field names by including them in replies without proper sanitization. The reply is then written to the pseudoterminal master by write_escape_code_to_child() in kitty/screen.c, where it is indistinguishable from user input and not neutralized for shell interpretation. Although the payload is restricted to printable ASCII and delimiters are consumed, sufficient characters remain to compose shell commands. Additionally, a newline character can be injected via handle_remote_ssh(), enabling execution of attacker-chosen commands with the privileges of the user running the terminal.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary commands in the context of the user's shell running the kitty terminal. This can lead to unauthorized actions and compromise of the user's environment with the same privileges as the terminal user.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running untrusted programs that write to the terminal or interacting with untrusted SSH sessions through kitty. Monitor vendor communications for updates and apply patches promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-95832
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.10","Ubuntu:Pro:26.04:LTS"]
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad3f5162cdf04f656657c51

Added to database: 10/17/2026, 22:22:14 UTC

Last enriched: 10/17/2026, 23:00:06 UTC

Last updated: 10/17/2026, 23:00:06 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses