{"id":"CVE-2026-44713","published":"2026-05-27T20:13:13Z","modified":"2026-05-30T01:48:00Z","title":"pam_usb: Command injection via $TMUX environment variable leads to RCE as root","vendor":"mcdope","product":"pam_usb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00158,"percentile":0.05051,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-822m-whrh-vrj8","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":1.01},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"mcdope","affectedVersions":[{"vendor":"mcdope","product":"pam_usb","versions":["< 0.8.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-30T01:47:50.419510Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-32657","exploited":false,"provenance":"source"}}