# CVE-2021-44512: World-writable permissions on the /tmp/tmate/sessions directory in tmate-ssh-server 2.3.0 allow a local attacker to compromise the integrit…

- Severity: High 7.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2021-12-07T02:07:50.000Z
- Modified: 2026-06-17T04:12:29.570Z
- Weaknesses: CWE-732
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- tmate tmate-ssh-server: up to 2.3.0

## Every score

- NVD: 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`
- NVD: CVSS:2.0 4.4 Medium `AV:L/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/tmate-io/tmate-ssh-server/commit/1c020d1f5ca462f5b150b46a027aaa1bbe3c9596> (patch, third-party-advisory)
- <https://www.openwall.com/lists/oss-security/2021/12/06/2> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-44512](https://www.cve.org/CVERecord?id=CVE-2021-44512), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-44512](https://nvd.nist.gov/vuln/detail/CVE-2021-44512), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-44512 · Whole record: https://cve.day/CVE-2021-44512.json · Rebuilt by cve.day 2026-11-25T22:24:36.158Z
