Home

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.

PUBLISHED Reserved 2026-05-07 | Published 2026-05-27 | Updated 2026-05-30 | Assigner GitHub_M




HIGH: 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Problem types

CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-116: Improper Encoding or Escaping of Output

Product status

< 0.8.7
affected

References

github.com/...am_usb/security/advisories/GHSA-822m-whrh-vrj8

cve.org (CVE-2026-44713)

nvd.nist.gov (CVE-2026-44713)

Download JSON