{
  "id": "CVE-2026-42851",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-42851",
  "published_at": "2026-06-12T20:00:23.386Z",
  "title": "@kitty-edit DCS + --color=geninclude vulnerable to Unauthenticated in-process RCE",
  "vendor": "kovidgoyal",
  "product": "kitty",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.0, a program able to write bytes to a kitty terminal — a remote SSH peer, a downloaded file viewed with `cat`, a log line, an email body rendered in `less`, an issue body in a TUI, etc. — can cause kitty to execute attacker-supplied Python inside the running kitty process, with the user's full privileges. There is no approval prompt, no remote-control permission requirement, no shell-integration interaction, no clipboard touch, and no editor interaction. Version 0.47.0 fixes the issue.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:kovidgoyal:kitty:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "kovidgoyal",
        "product": "kitty",
        "ranges": [
          "\u003c 0.47.0"
        ],
        "fixed_in": [
          "0.47.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade kitty to 0.47.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
