Nixpkgs Security Tracker

Login with GitHub

Details of issue NIXPKGS-2026-0595

NIXPKGS-2026-0595
published on 11 Mar 2026
updated 4 days, 17 hours ago by @mweinelt Activity log
  • Created automatic suggestion
  • @mweinelt accepted
  • @mweinelt removed
    3 packages
    • tree-sitter-grammars.tree-sitter-ghostty
    • python313Packages.tree-sitter-grammars.tree-sitter-ghostty
    • python314Packages.tree-sitter-grammars.tree-sitter-ghostty
  • @mweinelt published on GitHub
Ghostty affected by arbitrary command execution via control characters in paste and drag-and-drop operations

Ghostty is a cross-platform terminal emulator. Ghostty allows control characters such as 0x03 (Ctrl+C) in pasted and dropped text. These can be used to execute arbitrary commands in some shell environments. This attack requires an attacker to convince the user to copy and paste or drag and drop malicious text. The attack requires user interaction to be triggered, but the dangerous characters are invisible in most GUI environments so it isn't trivially detected, especially if the string contents are complex. Fixed in Ghostty v1.3.0.

Affected products

ghostty
  • ==< 1.3.0

Matching in nixpkgs

Ignored packages (3)

Package maintainers

Unstable: https://github.com/NixOS/nixpkgs/pull/498283
25.11: Unfixed