# CVE-2026-44712: pam_usb: Shell injection via device UUID and username in pamusb-conf and pamusb-agent

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 6% of CVEs (2026-11-30)
- Published: 2026-05-27T20:24:23.131Z
- Modified: 2026-10-26T12:10:00.130Z
- Weaknesses: CWE-78, CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- mcdope pam_usb: < 0.8.7

## References

- <https://github.com/mcdope/pam_usb/security/advisories/GHSA-jgv5-w6rm-7wxg>

## Sources

- CVE List: [CVE-2026-44712](https://www.cve.org/CVERecord?id=CVE-2026-44712), CVE Terms of Use, modified 2026-05-28
- NVD: [CVE-2026-44712](https://nvd.nist.gov/vuln/detail/CVE-2026-44712), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-44712 · Whole record: https://cve.day/CVE-2026-44712.json · Rebuilt by cve.day 2026-11-25T22:59:22.688Z
