CVE-2026-47273

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

State
Published
Severity
6.5 Medium
Published
May 27, 2026
Updated
May 28, 2026
Reserved
May 18, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:NGitHub_M

Weaknesses

  • CWE-91 XML Injection (aka Blind XPath Injection)

Affected Products

ProductVersions
pam_usbmcdope
  • < 0.9.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.