CVE-2026-47273: pam_usb: XPath injection via PAM-supplied identifiers in pam_usb configuration queries
Vulnerability summary
CVE-2026-47273 is a medium (CVSS 6.5) vulnerability in mcdope pam_usb. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 34% of scored vulnerabilities.
Timeline
- 27-05-2026PublishedVulnerability first disclosed.
- 28-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
Increase +0.14 pp
From 0.27% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Mcdope1 product
- pam_usb< 0.9.0
1 vendor · 1 product
References
3 links- github.com/mcdope/pam_usb/security/advisories/GHSA-vfj3-5h5v-6g93X Refsource CONFIRM
- github.com/mcdope/pam_usb/pull/311X Refsource MISC