CVE 8.2 HIGH

pam_usb: Shell injection via device UUID and username in pamusb-conf and pamusb-agent_CVE-2026-44712

8.2 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:H/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, a crafted UUID such as $(id>/tmp/rce) in the config causes root RCE when pamusb-conf --reset-pads is run. A USB device with a crafted filesystem UUID (some controllers allow this) can inject the payload at --add-device time. Also, userName from the XML config is passed to os.system() in pamusb-agent, which invokes a shell. This vulnerability is fixed in 0.8.7.

Basic Information

ID CVE-2026-44712
Source GitHub_M
Published May 27, 2026 at 20:24

Affected Product

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

CWE Classification

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.