{"schemaVersion":3,"id":"CVE-2026-54055","aliases":["UBUNTU-CVE-2026-54055","DEBIAN-CVE-2026-54055"],"status":"published","duplicateOf":null,"title":null,"description":"Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.2, a local privilege escalation vulnerability exists in kitty's file transmission protocol where a child process running in the terminal can write to arbitrary files on the filesystem by exploiting a TOCTOU (Time-of-Check-Time-of-Use) race condition between symlink validation and file creation. The `os.open()` call used to create files does not use `O_NOFOLLOW`, allowing an attacker to create a symlink between the initial stat check and the actual file open, causing the write to follow the symlink to an arbitrary destination. Version 0.47.2 fixes the issue.","dates":{"published":"2026-06-12T20:03:17.907Z","modified":"2026-06-15T19:28:17.461Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L","exploitability":2.1,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L","exploitability":2.1,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00095,"percentile":0.00635,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.022999999999999996,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00072},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00072,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00072,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00072,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00072,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00072,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00072,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00072,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00072,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00072,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00072,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00095,"percentile":0.00635}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00072,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00072,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00072,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00095,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00095,"percentile":0.00635}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/367.html"},{"id":"CWE-426","name":"Untrusted Search Path","description":"The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/426.html"}],"affected":[{"vendor":"debian","product":"kitty","name":"kitty","label":"kitty","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/kitty","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.41.1-2+deb13u2","noFixRecorded":false,"fixedIn":null},{"text":"< 0.47.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 0.41.1-2+deb13u2 | < 0.47.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"kitty","name":"kitty","label":"kitty","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/kitty","purlType":"deb","versions":[{"text":"< 0.32.2-1ubuntu0.4+esm2","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.45.0-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.32.2-1ubuntu0.4+esm2 | All versions (No fix recorded) | < 0.45.0-1ubuntu0.1~esm2","eol":null,"hubHref":null},{"vendor":"kovidgoyal","product":"kitty","name":"kitty","label":"kitty","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.47.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.47.2","eol":null,"hubHref":"/vendor/kovidgoyal/kitty"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/kovidgoyal/kitty/security/advisories/GHSA-q446-x7q6-vcxh","label":"github.com/kovidgoyal/kitty/security/advisories/GHSA-q446-x7q6-vcxh","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Mitigation","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-54055","label":"ubuntu.com/security/CVE-2026-54055","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-54055","label":"www.cve.org/CVERecord?id=CVE-2026-54055","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8763-1","label":"ubuntu.com/security/notices/USN-8763-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-54055","label":"security-tracker.debian.org/tracker/CVE-2026-54055","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-8763-1"],"duplicates":[],"related":["USN-8763-1"]},"timeline":[{"kind":"published","date":"2026-06-12T20:03:17.907Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-15T19:28:17.461Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":20,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T12:26:54.048Z","stale":false,"partial":false}}