CVE 6.5 MEDIUM

pam_usb: XPath injection via PAM-supplied identifiers in pam_usb configuration queries_CVE-2026-47273

6.5 / 10
MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

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.

Basic Information

ID CVE-2026-47273
Source GitHub_M
Published May 27, 2026 at 20:03

Affected Product

Vendor mcdope
Product pam_usb
Version < 0.9.0
Affected Versions mcdope pam_usb < 0.9.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.