CVE-2021-44512
World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.0
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.
- Record
CVE-2021-44512- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.4 Medium
AV:L/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-732
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-44512- Updated
- 2026-11-02
EUVDEUVD-2021-31345 No score
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.
- Record
EUVD-2021-31345- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mpgw-pwqr-q9jp
7.0
World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a...
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.
- Record
GHSA-mpgw-pwqr-q9jp- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-281, CWE-732
- Updated
- 2026-11-02
OSV
7.0
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.
- Record
CVE-2021-44512- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-44512
7.0
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.
- Record
DEBIAN-CVE-2021-44512- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-44512
7.0
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.
- Record
UBUNTU-CVE-2021-44512- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tmate-ssh-serverDebian:13 |
before 2.3.0-68-gd7334ee4-1 | 2.3.0-68-gd7334ee4-1 |
tmate-ssh-serverDebian:14 |
before 2.3.0-68-gd7334ee4-1 | 2.3.0-68-gd7334ee4-1 |
tmate-ssh-serverUbuntu:22.04:LTS |
All versions, plus listed versions 2.3.0-49-g97d20249-1 |
None known |
tmate-ssh-serverUbuntu:24.04:LTS |
All versions, plus listed versions 2.3.0-68-gd7334ee4-12.3.0-68-gd7334ee4-1build1 |
None known |
tmate-ssh-serverUbuntu:25.10 |
All versions, plus listed versions 2.3.0-68-gd7334ee4-2 |
None known |
tmate-ssh-serverUbuntu:26.10 |
All versions, plus listed versions 2.3.0-68-gd7334ee4-2build1 |
None known |
tmate-ssh-serverUbuntu:26.04:LTS |
All versions, plus listed versions 2.3.0-68-gd7334ee4-22.3.0-68-gd7334ee4-2build1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-44512 is a high vulnerability (CVSS 7.0) in Tmate Tmate-ssh-server, published December 7, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.26%, the 18th percentile. Fixed in tmate-ssh-server 2.3.0-68-gd7334ee4-1.
References
github.com/tmate-io/tmate-ssh-server/commit/1c020d1f5ca462f5b150b46a027aaa1bbe3c9596
openwall.com/lists/oss-security/2021/12/06/2
nvd.nist.gov/vuln/detail/CVE-2021-44512
github.com/advisories/GHSA-mpgw-pwqr-q9jp
security-tracker.debian.org/tracker/CVE-2021-44512
ubuntu.com/security/CVE-2021-44512
bugzilla.suse.com/show_bug.cgi?id=1189388
cve.org/CVERecord?id=CVE-2021-44512