CVE-2026-44712
JSON

8.2high

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

Severity
8.2high CVSS:3.1 by GitHub_M
Exploit likelihood
0.21% (higher than 6% of CVEs)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
mcdope pam_usb< 0.8.7CVE List

Classification

CWE-78CWE-88

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

pam_usb proporciona autenticación de hardware para Linux utilizando medios extraíbles comunes. Antes de la versión 0.8.7, un UUID manipulado como $(id>/tmp/rce) en la configuración causa RCE de root cuando se ejecuta pamusb-conf --reset-pads. Un dispositivo USB con un UUID de sistema de archivos manipulado (algunos controladores lo permiten) puede inyectar la carga útil en el momento de --add-device. Además, el userName de la configuración XML se pasa a os.system() en pamusb-agent, lo que invoca una shell. Esta vulnerabilidad está corregida en la versión 0.8.7.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-44712 changed 2026-05-28CVE Terms of Use
NVDCVE-2026-44712 changed 2026-10-26Public domain