Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-47273 EUVD-2026-32652

pam_usb: XPath injection via PAM-supplied identifiers in pam_usb configuration queries

Published May 27, 2026 · Updated May 28, 2026 · Assigned by GitHub_M

Description

pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0, pam_usb builds XPath expressions from user-supplied identifiers (PAM username, service name) and device-supplied identifiers (USB device serial, model, vendor) to query /etc/pamusb.conf. These identifiers were not validated for XPath metacharacters, allowing injection of arbitrary XPath predicates. This vulnerability is fixed in 0.9.0.

Affected products

VendorProductAffectedFixed
mcdope pam_usb < 0.9.0 —

References