CVE-2026-44712

HIGH

pam_usb: Shell injection via device UUID and username in pamusb-conf and pamusb-agent

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 8.2
EPSS 0.0015
EPSS Percentile 4.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-78 CWE-88
Status published
Products (1)
mcdope/pam_usb < 0.8.7
Published May 27, 2026
Tracked Since May 28, 2026