This policy applies to repositories in the
libtmux organization that do not carry their own
SECURITY.md.
Report suspected vulnerabilities privately rather than in a public issue, discussion, or pull request. Open the affected repository on github.com/libtmux, go to its Security tab, and choose Report a vulnerability to open a private security advisory.
Include the package and version, your platform and tmux version, what you
observed, and a minimal reproduction or code reference. Distinguish verified
behavior from suspected impact, and coordinate disclosure so a fix can ship
before details become public.
Pre-1.0 and 0.1.N packages support only the latest published release.
Security fixes ship as a new release rather than as backports to older
versions. Published releases remain on package registries unpatched, so pin
deliberately and upgrade to receive fixes.
Libraries and tools in libtmux build tmux argument vectors, speak control
mode, manage sockets, and parse tmux output. Vulnerabilities cross one of
those boundaries:
- Argument or framing injection. Input passed through a typed API (such as
a session, window, or pane name, target, option value, or library-composed
format string) that escapes its
tmuxargvslot, injects an extratmuxcommand or control-mode frame, or triggers unintended#(...)format command expansion. - Parser hangs or crashes on malformed output. Output from
tmux, or from a process on the other end of a transport, that causes a parser to hang, crash, exhaust memory, or corrupt state instead of returning an error. - Unintended socket or server selection. Reaching a
tmuxsocket or server other than the endpoint the caller configured, or leaking a socket across an isolation boundary.
- Vulnerabilities in
tmuxitself. Report defects in thetmuxserver or client binary upstream at tmux/tmux. - Commands or shell strings a caller explicitly passes. Sending keys to a
pane or passing caller-supplied strings to
new-session,new-window,split-window,send-keys,run-shell,if-shell,pipe-pane, raw command APIs, or hooks executes what the caller askedtmuxor the shell to run. Callers passing untrusted input to those surfaces own that boundary. - Trusted
command-aliasserver configuration.tmuxexpands servercommand-aliasentries before resolving built-in command names, so typed library guarantees assume trusted server configuration rather than aliases that redefine built-intmuxcommands. - Documented MCP server terminal actions. The MCP servers exist to read
panes, send input, and run documented
tmuxoperations on the endpoint they were given. Point an MCP server only at a dedicatedtmuxsocket or server you intend that client to drive.