CVE-2026-95835
CVE-2026-95835 · Missing ownership check on the shared memory object named by the kitty askpass escape code
CVSS 5.6 · Medium · EPSS 0.1% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- kittyUpdate to 0.49.0
- kitty Debian 12No fix published
- kitty Debian 13No fix published
- kitty Debian 14No fix published
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="kitty"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Missing Authorization in the askpass escape code handler in kitty from 0.25.0 before 0.49.0 allows a local user other than the one running the terminal to obtain the text typed into a prompt that kitty itself displays, because handle_remote_askpass() in kitty/window.py opens the POSIX shared memory object named in the escape code, parses a prompt definition out of it, and writes the user's answer back into an object of that same name, without at any point checking that the object is owned by the user running kitty or that its permissions exclude other users. The equivalent consumer of the same SharedMemory class in the ssh kitten performs exactly that check; the askpass path did not. The handler is reached through a device control string processed from the byte stream of the window, so the attacker must also cause bytes of their choosing to be displayed by the victim's terminal. Where the POSIX shared memory namespace is shared between the two users, a second local user can create an object with permissions that allow the victim to read and write it, cause the victim's kitty to render a prompt of the attacker's choosing, including a masked password prompt, and read the typed secret back out of the object afterwards. The prompt text is additionally passed to the display without control character sanitisation, so it can overwrite the warning line kitty prints above it. The answer is written by reopening an object of that name when the user answers, rather than through the handle already held. This results in disclosure of a secret typed by the victim to a second local user, and does not require any privilege on the victim's account.
- Published
- Updated
Stack: system
Affected products and versions
kitty
- Versions
- ≥ 0.25.0, < 0.49.0: Affected (semver)
Update to 0.49.0
kitty Debian 12
- Versions
- 0.26.5-5
- 0.30.1-1
- 0.31.0-1
- 0.31.0-2
- 0.31.0-3
- 0.31.0-4
All versions (40)
- 0.32.0-1
- 0.32.1-1
- 0.32.2-1
- 0.33.0-2
- 0.33.1-1
- 0.34.1-1
- 0.35.1-1
- 0.35.2-1
- 0.36.1-1
- 0.36.4-1
- 0.36.4-2
- 0.36.4-3
- 0.37.0-1
- 0.38.1-1
- 0.39.0-1
- 0.39.1-1
- 0.40.0-1
- 0.41.1-1
- 0.41.1-2
- 0.42.1-1
- 0.42.2-1
- 0.43.1-1
- 0.44.0-1
- 0.45.0-1
- 0.45.0-2
- 0.46.1-1
- 0.46.2-1
- 0.47.0-1
- 0.47.0-2
- 0.47.0-3
- 0.47.3-1
- 0.47.4-1
- 0.48.2-1
- 0.48.2-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
kitty Debian 13
- Versions
- 0.41.1-2
- 0.41.1-2+deb13u1
- 0.41.1-2+deb13u2
- 0.42.1-1
- 0.42.2-1
- 0.43.1-1
All versions (18)
- 0.44.0-1
- 0.45.0-1
- 0.45.0-2
- 0.46.1-1
- 0.46.2-1
- 0.47.0-1
- 0.47.0-2
- 0.47.0-3
- 0.47.3-1
- 0.47.4-1
- 0.48.2-1
- 0.48.2-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
kitty Debian 14
- Versions
- 0.41.1-2
- 0.42.1-1
- 0.42.2-1
- 0.43.1-1
- 0.44.0-1
- 0.45.0-1
All versions (16)
- 0.45.0-2
- 0.46.1-1
- 0.46.2-1
- 0.47.0-1
- 0.47.0-2
- 0.47.0-3
- 0.47.3-1
- 0.47.4-1
- 0.48.2-1
- 0.48.2-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
kitty Ubuntu Pro 20.04 LTS
- 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
All versions (7)
- 0.15.0-1ubuntu0.2+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
kitty Ubuntu Pro 22.04 LTS
- 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
kitty Ubuntu Pro 24.04 LTS
- 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
All versions (13)
- 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
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
kitty Ubuntu 26.10
- Versions
- 0.45.0-1build1
- 0.47.0-3
- 0.47.4-1
- 0.48.2-1.1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
kitty Ubuntu Pro 26.04 LTS
- 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
All versions (7)
- 0.45.0-1ubuntu0.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published