CVE-2026-44713 Details
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.
A command injection vulnerability has been identified in pam_usb versions prior to 0.8.7, specifically within the tmux integration. The issue arises in src/tmux.c, where the user's $TMUX environment variable is read, split on commas, and the socket-path component is directly interpolated into a shell command executed by popen(). This interpolation occurs without proper sanitization, allowing any value containing a double quote to terminate the quoted string and inject arbitrary shell commands. The popen() function is executed with root privileges in the PAM stack, creating a significant security risk. Exploitation of this vulnerability allows local users to bypass USB authentication and gain unauthorized root access.
Users can update to pam_usb version 0.8.7 or later, where this vulnerability has been fixed. The updated version validates the $TMUX socket path and client ID to reject values containing shell metacharacters before constructing commands. Additionally, the 'w' command is now executed via its full path to prevent similar injection issues.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 27, 2026CISA-ADP
Assessed May 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mcdope/pam_usb/security/advisories/GHSA-822m-whrh-vrj8 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-116 | Improper Encoding or Escaping of Output | [email protected] |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pam_usb | <= 0.8.6 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 27, 2026 | New CVE Received | [email protected] |
Volerion