PoC Monitor
← All CVEs
CVE-2026-44713published 27 May 2026 20:13 UTCData: JSON · API

Mcdope pam_usb

pam_usb: Command injection via $TMUX environment variable leads to RCE as root

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

mcdope pam_usb
  • < 0.8.7

Fixed in 0.8.7

Mitigation

Upgrade pam_usb to 0.8.7 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published27 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.