# CVE-2026-44713: pam_usb: Command injection via $TMUX environment variable leads to RCE as root

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-05-27T20:13:13.193Z
- Modified: 2026-10-26T12:10:00.130Z
- Weaknesses: CWE-78, CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.8.7, src/tmux.c reads the user's $TMUX environment variable, splits it on commas, and interpolates the socket-path component directly into a shell command passed to popen(). Because the value is placed inside double-quotes without sanitisation, any value containing " terminates the quoted string and injects arbitrary shell syntax. popen() runs as root inside the PAM stack. This vulnerability is fixed in 0.8.7.

(As written by CVE List.)

## Affected

- mcdope pam_usb: < 0.8.7

## References

- <https://github.com/mcdope/pam_usb/security/advisories/GHSA-822m-whrh-vrj8>

## Sources

- CVE List: [CVE-2026-44713](https://www.cve.org/CVERecord?id=CVE-2026-44713), CVE Terms of Use, modified 2026-05-30
- NVD: [CVE-2026-44713](https://nvd.nist.gov/vuln/detail/CVE-2026-44713), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-44713 · Whole record: https://cve.day/CVE-2026-44713.json · Rebuilt by cve.day 2026-11-25T22:59:22.689Z
