CVE-2026-95835
published 2026-09-25CVE-2026-95835: 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…
PriorityP426medium5.6CVSS 4.0
AVLACLATPPRLUIAVCHVILVANSCHSINSANEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.10%
0.8th percentile
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.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| kovid_goyal | kitty | >= 0.25.0 < 0.49.0 | 0.49.0 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-95835 kitty: missing ownership check on the shared memory object named by the kitty askpass escape code [fedora-all]
bugzilla·2026-09-28·CVSS 5.6
CVE-2026-95835 [MEDIUM] CVE-2026-95835 kitty: missing ownership check on the shared memory object named by the kitty askpass escape code [fedora-all]
CVE-2026-95835 kitty: missing ownership check on the shared memory object named by the kitty askpass escape code [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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 a
Bugzilla
CVE-2026-95835 kitty: missing ownership check on the shared memory object named by the kitty askpass escape code [epel-all]
bugzilla·2026-09-28·CVSS 5.6
CVE-2026-95835 [MEDIUM] CVE-2026-95835 kitty: missing ownership check on the shared memory object named by the kitty askpass escape code [epel-all]
CVE-2026-95835 kitty: missing ownership check on the shared memory object named by the kitty askpass escape code [epel-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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
Bugzilla
CVE-2026-95835 kitty: missing ownership check on the shared memory object named by the kitty askpass escape code
bugzilla·2026-09-25·CVSS 5.6
CVE-2026-95835 [MEDIUM] CVE-2026-95835 kitty: missing ownership check on the shared memory object named by the kitty askpass escape code
CVE-2026-95835 kitty: missing ownership check on the shared memory object named by the kitty askpass escape code
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 di
2026-09-25
Published