AI and security briefsTools

Should I upgrade to Ghostty 1.4, and what breaks when I do?

By , founder of Digiton Dynamics

Published Updated Editorial policy

Yes, upgrade, and read the breaking changes first. Ghostty 1.4.0 shipped on 27 October 2026 with ten security advisories fixed, scrollback compression and new defaults. On macOS, selecting text no longer copies it. On Linux, the GTK build needs GTK 4.18 and libadwaita 1.7.

Who should act: Developers who run Ghostty on macOS or Linux, especially with zsh, cloned repositories or terminal coding agents, and anyone who packages it for a team.

Update log

What changed

Ghostty 1.4.0 was released on 27 October 2026 after seven months of work, with 172 contributors and 2,889 commits (Ghostty release notes, 27 October). The notes list ten security advisories fixed in this release. The maintainer says CVE numbers were requested weeks ago and GitHub has not assigned them yet.

The release adds scrollback compression, which the notes say cuts physical memory for typical text history by 70% to 90%. The default scrollback limit rises to 50 MB, up from 10 MB. Ghostty reports 25% to 55% higher I/O throughput on macOS (M4 Max) and full coverage of the Kitty graphics specification. These are the project's own benchmarks. It also adds the ghostty +ssh wrapper and support for macOS 27.

Who it affects

What we checked

Run on on the Mac that builds this site. Each command and its output are copied as they ran.

$ command -v ghostty || echo "not installed"
not installed
$ curl -sI https://ghostty.org/docs/install/release-notes/1-4-0 | head -1
HTTP/2 200

Ghostty is not installed on the Mac that builds this site, so nothing in 1.4 was run here. Every behavior above is from the release notes and the advisory.

What to do now

  1. Record what you run today.
    ghostty --version
    ghostty +show-config | grep -E "copy-on-select|scrollback-limit|clipboard-write"
  2. Update through the channel you installed from, then confirm the version. Treat 1.3.1 and earlier as exposed to the zsh issue, and 1.3.0 and 1.3.1 to the tmux ones, until you do.
  3. On macOS, put your old behavior back in the config file if you want it (Ghostty release notes, 27 October).
    copy-on-select = primary
    keybind = cmd+arrow_up=scroll_to_top
    keybind = cmd+arrow_down=scroll_to_bottom
  4. On Linux, check the libraries before you upgrade.
    pkg-config --modversion gtk4 libadwaita-1
  5. Rename scrollback-limit to scrollback-limit-bytes. The old name still works, and the notes recommend moving soon. Anyone with copy-on-select = clipboard who wants the old result should use both.
  6. Until you have updated, set clipboard-write = ask. The advisory lists it as a workaround for the clipboard replacement, and it does not stop other escape sequences.

What to watch

Questions people ask

Is Ghostty 1.4 safe to upgrade to?

The notes list ten security fixes and no known regressions beyond the changed defaults. We did not run it. Back up your config, upgrade on one machine and check copy-on-select, your keybinds and, on Linux, the GTK version.

Why did copy-on-select stop working on macOS?

In 1.4 the macOS default is none, where it was true. Setting copy-on-select to primary restores the 1.3 behavior, according to the release notes.

Does Ghostty 1.4 run on Ubuntu 24.04 LTS?

Not from a normal build. It needs GTK 4.18 and libadwaita 1.7, which Ubuntu 24.04 LTS does not provide, per the notes. They suggest an older Ghostty or the Flatpak package.

Which versions have the zsh clipboard flaw?

GitHub's advisory lists 1.3.1 and earlier as affected and 1.4.0 as patched. Fish and other shells are not affected, and bash is affected in a more limited way.

Digiton's production review covers what developer machines and coding agents can reach, and the checks are on the Claude Code governance page.

How this brief was made: researched from the sources below, drafted with AI assistance and checked against each source on the dates shown. See the editorial policy.

Sources

  1. Ghostty documentation, 1.4.0 release notes, 27 October 2026, read 28 October 2026. https://ghostty.org/docs/install/release-notes/1-4-0
  2. Ghostty GitHub advisory for the zsh shell integration, 27 October 2026, read 28 October 2026. https://github.com/ghostty-org/ghostty/security/advisories/GHSA-2r63-vmw6-3m3c
  3. Ghostty GitHub advisory for paste protection, read 28 October 2026. https://github.com/ghostty-org/ghostty/security/advisories/GHSA-4hwh-wx3w-3fqg
  4. Ghostty GitHub release v1.4.0, 27 October 2026, read 28 October 2026. https://github.com/ghostty-org/ghostty/releases/tag/v1.4.0

More briefs

Can a file in my Downloads folder hijack Codex or Claude Code?Was my team affected by the LiteLLM 1.107.0 supply chain attack?Did Claude Mythos 5 try to plant malware in a GitHub project, and what did Anthropic say?

How these briefs are sourced and corrected. All AI and security briefs

Building something that has to hold up in production?

Start with a free 25-minute scoping call. If it fits, the first paid step is a production review: five working days on your real repository, scored against ten layers, with a costed fix list.

Book a 25-minute scoping call