Description
World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a local attacker to compromise the integrity of session handling, or obtain the read-write session ID from a read-only session symlink in this directory.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tmate-ssh-server | 2.3.0-68-gd7334ee4-1 | — |
| Debian 13 | tmate-ssh-server | 2.3.0-68-gd7334ee4-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tmate-ssh-server | No fix yet | — |
| Ubuntu 26.04 LTS | tmate-ssh-server | No fix yet | — |
| Ubuntu 25.10 | tmate-ssh-server | No fix yet | — |
| Ubuntu 24.04 LTS | tmate-ssh-server | No fix yet | — |
| Ubuntu 22.04 LTS | tmate-ssh-server | No fix yet | — |