CVE 8.8 HIGH

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

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

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.

AI Analysis

Command injection vulnerability via $TMUX environment variable, allowing RCE as root

Basic Information

ID CVE-2026-44713
Source GitHub_M
Published May 27, 2026 at 20:13

Affected Product

Vendor mcdope
Product pam_usb
Version < 0.8.7
Affected Versions mcdope pam_usb < 0.8.7

CWE Classification

AI Assessment

AI Score 8.8 / 10
AI Severity High
Vendor mcdope
Product pam_usb
Version < 0.8.7

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.